浏览代码

fix:nginx install error

oneinstack 6 月之前
父节点
当前提交
81fe59cb50
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/nginx.sh

+ 1 - 1
include/nginx.sh

@@ -32,7 +32,7 @@ Install_Nginx() {
   make -j ${THREAD} && make install
   if [ -e "${nginx_install_dir}/conf/nginx.conf" ]; then
     popd > /dev/null
-    rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* nginx-${nginx_ver}* ${nginx_install_dir}*
+    #rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* nginx-${nginx_ver}* ${nginx_install_dir}*
     echo "${CSUCCESS}Nginx installed successfully! ${CEND}"
   else
     rm -rf pcre-${pcre_ver}* openssl-${openssl11_ver}* nginx-${nginx_ver}* ${nginx_install_dir}*