Skip to content

Commit

Permalink
update: copy NCP app to nextcloud directory (#936)
Browse files Browse the repository at this point in the history
Signed-off-by: qrest <qrest@protonmail.com>
  • Loading branch information
qrest authored and nachoparker committed Jul 6, 2019
1 parent 6abf09f commit aaeef7e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aaeef7e

Please sign in to comment.