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:
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