mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 06:32:00 -03:30
update-nc.sh: Migrate NC apps after installation of new version
This commit is contained in:
parent
767a42afbb
commit
c12e51b396
@ -142,11 +142,12 @@ cp nextcloud-old/config/config.php nextcloud/config/
|
||||
####################
|
||||
cp -raT nextcloud-old/themes/ nextcloud/themes/
|
||||
|
||||
# copy old NCP apps
|
||||
# copy old NC apps
|
||||
####################
|
||||
for app in nextcloudpi previewgenerator notify_push; do
|
||||
if [[ -d nextcloud-old/apps/"${app}" ]]; then
|
||||
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
|
||||
cp -r -L "${app}" /var/www/nextcloud/apps/
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user