Mise à jour de 'nextcloud.sh'
This commit is contained in:
parent
a808e84bc3
commit
491df56c4d
|
@ -109,6 +109,7 @@ unzip -q nextcloud-${VERSION}.zip
|
|||
|
||||
if [[ ${NEW_INSTALLATION} == "false" ]]; then
|
||||
info "Unlink folders that contain the data"
|
||||
cp ${FOLDER}/config/config.php ${FOLDER}/config.php
|
||||
unlink www/data
|
||||
unlink www/config
|
||||
unlink www/apps
|
||||
|
@ -130,6 +131,7 @@ info "Copying new Nextcloud"
|
|||
cp -rf nextcloud/apps/* apps/
|
||||
rm -rf nextcloud/{config,data,apps}
|
||||
cp -rf nextcloud/* www/
|
||||
cp -rf ${FOLDER}/config.php ${FOLDER}/config/config.php
|
||||
|
||||
info "Link folders that contain the data into new installation"
|
||||
ln -s ${FOLDER}/data ${FOLDER}/www/
|
||||
|
|
Loading…
Reference in New Issue