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>2021-10-08 20:40:22 +0300
committernachoparker <nacho@ownyourbits.com>2021-10-12 00:55:47 +0300
commit76fbf5038e4fca840f3b482e5de635e073023d7d (patch)
tree327795cacad0c46794165e328ccb7ff8578240fa /install.sh
parent891dc86c0504f865a16df5d706ece9f785313143 (diff)
build: fix rpi build
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 4149617e..f85c1bf0 100644
--- a/install.sh
+++ b/install.sh
@@ -66,9 +66,11 @@ rm /usr/local/etc/ncp-config.d/nc-nextcloud.cfg # armbian overlay is ro
systemctl restart mysqld # TODO this shouldn't be necessary, but somehow it's needed in Debian 9.6. Fixme
install_app ncp.sh
run_app_unsafe bin/ncp/CONFIG/nc-init.sh
-bash /usr/local/bin/ncp-provisioning.sh
rm /.ncp-image
+# skip on Armbian / Vagrant / LXD ...
+[[ "${CODE_DIR}" != "" ]] || bash /usr/local/bin/ncp-provisioning.sh
+
cd -
rm -rf "${TMPDIR}"