Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-05-29 19:56:56 +0300
committernachoparker <nacho@ownyourbits.com>2018-05-29 20:21:30 +0300
commit3862eca0ed89fdf9010f302180f644c2c7a535cd (patch)
tree60079e18bfbc0c1b115144bd5e91d310fd5cc2b1 /install.sh
parent6d1cd5688391c1232f103618f06ad3bd10b24361 (diff)
build: fix cleanup armbian imagesv0.56.16
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh6
1 files changed, 1 insertions, 5 deletions
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.