Skip to content

Commit 8febda2

Browse files
committed
update-nc.sh: Migrate NC apps after installation of new version
1 parent ea2862d commit 8febda2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

bin/ncp-update-nc.d/update-nc.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,10 @@ cp nextcloud-old/config/config.php nextcloud/config/
142142
####################
143143
cp -raT nextcloud-old/themes/ nextcloud/themes/
144144

145-
# copy old NCP apps
145+
# copy old NC apps
146146
####################
147-
for app in nextcloudpi previewgenerator notify_push; do
148-
if [[ -d nextcloud-old/apps/"${app}" ]]; then
149-
cp -r -L nextcloud-old/apps/"${app}" /var/www/nextcloud/apps/
150-
fi
147+
for app in nextcloud-old/apps/*; do
148+
cp -r -L "${app}" /var/www/nextcloud/apps/
151149
done
152150

153151
#false # test point

0 commit comments

Comments
 (0)