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:
authorqrest <qrest@protonmail.com>2019-07-06 05:19:44 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-06 06:43:58 +0300
commitaaeef7eaf85c80b57a7dcffa43cc21a4145f4aed (patch)
treedbc11d45f943d8e6c3a02ff504a8adf2ba4dd1e9 /update.sh
parent6abf09f5710bbc58378d3f019444b1f7271e4c2f (diff)
update: copy NCP app to nextcloud directory (#936)
Signed-off-by: qrest <qrest@protonmail.com>
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 8c6ea0c7..a21a3f31 100755
--- a/update.sh
+++ b/update.sh
@@ -123,6 +123,12 @@ chmod 770 /var/www/ncp-web
rm -rf /var/www/ncp-app
cp -r ncp-app /var/www/
+# copy NC app to nextcloud directory and enable it
+rm -rf /var/www/nextcloud/apps/nextcloudpi
+cp -r /var/www/ncp-app /var/www/nextcloud/apps/nextcloudpi
+chown -R www-data: /var/www/nextcloud/apps/nextcloudpi
+ncc app:enable nextcloudpi
+
[[ -f /.docker-image ]] && {
# remove unwanted ncp-apps for the docker version
for opt in $EXCL_DOCKER; do