1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00
This commit is contained in:
ewilly 2022-01-07 17:02:26 +01:00
parent 65d27648da
commit a432883fb0
2 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ ynh_secure_remove --file="$final_path"
if [ "${YNH_APP_PURGE:-0}" -eq 1 ]
then
ynh_script_progression --message="Removing app data directory..."
ynh_secure_remove --file="$datadir"
ynh_secure_remove --file="$data_path"
fi
#=================================================

View file

@ -75,9 +75,9 @@ ynh_restore_file --origin_path="$final_path"
#=================================================
ynh_script_progression --message="Restoring the data directory..."
ynh_restore_file --origin_path="$datadir" --not_mandatory
ynh_restore_file --origin_path="$data_path" --not_mandatory
mkdir -p $datadir
mkdir -p $data_path
#=================================================
# SPECIFIC RESTORATION