From 3862eca0ed89fdf9010f302180f644c2c7a535cd Mon Sep 17 00:00:00 2001 From: nachoparker Date: Tue, 29 May 2018 18:56:56 +0200 Subject: build: fix cleanup armbian images --- install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 84cacba8..f7fe1af5 100644 --- a/install.sh +++ b/install.sh @@ -29,7 +29,6 @@ grep -q -e "Debian GNU/Linux 9" -e "Raspbian GNU/Linux 9" /etc/issue || { } # check installed software -type apache2 &>/dev/null && APACHE_EXISTS=1 type mysqld &>/dev/null && echo ">>> WARNING: existing mysqld configuration will be changed <<<" # get install code @@ -52,10 +51,7 @@ install_script etc/ncp-config.d/nc-nextcloud.sh activate_script etc/ncp-config.d/nc-nextcloud.sh install_script ncp.sh activate_script etc/ncp-config.d/nc-init.sh - -# re-enable mods disabled during install, in case there's other shared services in apache2 -[[ "$APACHE_EXISTS" != "" ]] && \ - a2enmod status reqtimeout env autoindex access_compat auth_basic authn_file authn_core alias access_compat +[[ -f /.ncp-image ]] && activate_script post-inst.sh popd echo "Done. -- cgit v1.2.3