1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/couchpotato_ynh.git synced 2024-09-03 18:16:22 +02:00

Fix upgrade

This commit is contained in:
yalh76 2021-08-17 00:12:16 +02:00
parent 1bb5f47fc0
commit 31ecd411a1

View file

@ -72,7 +72,7 @@ if [ -z "$datadir" ]; then
fi
# If settings.conf is not at the right place, move it
if [ -f "$datadir/settings.conf" ]; then
if [ ! -f "$datadir/settings.conf" ]; then
ynh_delete_file_checksum --file="$final_path/settings.conf"
mv "$final_path/settings.conf" "$datadir/settings.conf"
ynh_store_file_checksum --file="$datadir/settings.conf"