We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2862d commit 5667056Copy full SHA for 5667056
bin/ncp-update-nc.d/update-nc.sh
@@ -142,11 +142,12 @@ cp nextcloud-old/config/config.php nextcloud/config/
142
####################
143
cp -raT nextcloud-old/themes/ nextcloud/themes/
144
145
-# copy old NCP apps
+# copy old NC apps
146
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/
+for app in nextcloud-old/apps/*; do
+ if ! [[ -d /var/www/nextcloud/apps/"$(basename "$app")" ]]
+ then
150
+ cp -r -L "${app}" /var/www/nextcloud/apps/
151
fi
152
done
153
0 commit comments