From b378cf18ed6a34af96ecaad19b595ab7a557fa4b Mon Sep 17 00:00:00 2001 From: Anton Reutov Date: Thu, 29 Jul 2021 16:47:04 +0300 Subject: [PATCH] Update postinst --- src/deb/vesta/postinst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index b1a96f1ef..73f28d834 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -36,14 +36,5 @@ if [ -x /usr/local/vesta/upd/fix_dhcprenew.sh ]; then /usr/local/vesta/upd/fix_dhcprenew.sh fi -# Fixing Apache status public access -if [ ! -f "/usr/local/vesta/data/upgrades/apache_status_public_access" ]; then - touch /usr/local/vesta/data/upgrades/apache_status_public_access - if [ -f "/etc/apache2/mods-available/status.conf" ]; then - echo "=== Fixing Apache status public access" - sed -i "s|Allow from all|# Allow from all|g" /etc/apache2/mods-available/status.conf - service apache2 restart - fi -fi exit 0