From 84d96880e6331c05a7f7d5f5337e273353deff65 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 20 Aug 2019 17:30:28 +0200 Subject: [PATCH] Remove outdated section --- install | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/install b/install index b127fed..523439d 100755 --- a/install +++ b/install @@ -548,22 +548,6 @@ wo_upgrade_nginx() { wo_update_latest() { - if [ -f /etc/nginx/fastcgi_params ]; then - CHECK_HTTP_PROXY=$(grep 'HTTP_PROXY' /etc/nginx/fastcgi_params) - if [ -z "$CHECK_HTTP_PROXY" ]; then - echo 'fastcgi_param HTTP_PROXY "";' >> /etc/nginx/fastcgi_params - echo 'fastcgi_param HTTP_PROXY "";' >> /etc/nginx/fastcgi.conf - service nginx restart | tee -ai $wo_install_log - fi - fi - - if [ -f /etc/ImageMagick/policy.xml ]; then - if [ ! -f /etc/ImageMagick/patch.txt ]; then - echo -e "\t\n\t\n\t\n\t\n\t" >> /etc/ImageMagick/patch.txt - sed -i '//r /etc/ImageMagick/patch.txt' /etc/ImageMagick/policy.xml - fi - fi - # Move ~/.my.cnf to /etc/mysql/conf.d/my.cnf if [ ! -f /etc/mysql/conf.d/my.cnf ]; then # create conf.d folder if not exist