diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-11-22 19:09:44 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-11-22 21:26:29 +0300 |
commit | 6883aa2da7cd91df8eb849170fa3125b60c27a70 (patch) | |
tree | ca9e504ab2c9bfa6228b8180e226d6d2193849d5 /install.sh | |
parent | 6fe08e6858fcef17ec052e4a679d90dbcb8d1962 (diff) |
added armbian support
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -53,10 +53,18 @@ activate_script etc/nextcloudpi-config.d/nc-init.sh [[ "$APACHE_EXISTS" != "" ]] && \ a2enmod status reqtimeout env autoindex access_compat auth_basic authn_file authn_core alias access_compat -# cleanup cd - rm -rf $TMPDIR +# extra cleanup only in image generation +[[ -f /.ncp-image ]] && { + apt-get autoremove -y + apt-get clean + rm /var/lib/apt/lists/* -r + rm /.ncp-image +} + + echo "Done. Type 'sudo nextcloudpi-config' to configure NCP @@ -66,6 +74,8 @@ Access NextCloudPi panel on nextcloudpi.local:4443 Access Nextcloud on nextcloudpi.local " +exit 0 + # License # # This script is free software; you can redistribute it and/or modify it |