ソースを参照

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}*