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:
parent
1bb5f47fc0
commit
31ecd411a1
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ if [ -z "$datadir" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If settings.conf is not at the right place, move it
|
# 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"
|
ynh_delete_file_checksum --file="$final_path/settings.conf"
|
||||||
mv "$final_path/settings.conf" "$datadir/settings.conf"
|
mv "$final_path/settings.conf" "$datadir/settings.conf"
|
||||||
ynh_store_file_checksum --file="$datadir/settings.conf"
|
ynh_store_file_checksum --file="$datadir/settings.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue