1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-07-22 23:31:33 +02:00
parent 09f22b6e86
commit 5abfbc1cf7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -94,12 +94,12 @@ then
mv "$final_path" "$final_path.old"
ynh_setup_source "$final_path"
mv "$final_path"/galette/* "$final_path"/
ynh_secure_remove "$final_path"/tests
#ynh_secure_remove "$final_path"/tests
# when running automatic tests, there is no config.inc.php
if [ -e "$final_path.old/config/config.inc.php" ]; then
cp "$final_path.old/config/config.inc.php" "$final_path/config/config.inc.php"
if [ -e "$final_path.old/galette/config/config.inc.php" ]; then
cp "$final_path.old/galette/config/config.inc.php" "$final_path/galette/config/config.inc.php"
cp "$final_path.old/galette/data" "$final_path/galette/data"
fi
# delete temp directory