Bläddra i källkod

Merge pull request #538 from Reiyy/fix_o_t_install_error

fix: openresty and tengine install error
OneinStack 6 månader sedan
förälder
incheckning
6b0d86a434
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      include/openresty.sh
  2. 1 1
      include/tengine.sh

+ 1 - 1
include/openresty.sh

@@ -28,7 +28,7 @@ Install_OpenResty() {
   make -j ${THREAD} && make install
   if [ -e "${openresty_install_dir}/nginx/conf/nginx.conf" ]; then
     popd > /dev/null
-    rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* openresty-${openresty_ver}* ${openresty_install_dir}*
+    rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* openresty-${openresty_ver}*
     echo "${CSUCCESS}OpenResty installed successfully! ${CEND}"
   else
     rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* openresty-${openresty_ver}* ${openresty_install_dir}*

+ 1 - 1
include/tengine.sh

@@ -27,7 +27,7 @@ Install_Tengine() {
   make && make install
   if [ -e "${tengine_install_dir}/conf/nginx.conf" ]; then
     popd > /dev/null
-    rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* tengine-${tengine_ver}* rm -rf ${tengine_install_dir}*
+    rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* tengine-${tengine_ver}*
     echo "${CSUCCESS}Tengine installed successfully! ${CEND}"
   else
     rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* tengine-${tengine_ver}* rm -rf ${tengine_install_dir}*