瀏覽代碼

fix: openresty install error

夜棂依 6 月之前
父節點
當前提交
b4e7a35228
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/openresty.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}*