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

no need to remove after a mv

This commit is contained in:
OniriCorpe 2024-01-22 06:17:27 +01:00
parent 29f39789d6
commit e07fa229e8

View file

@ -39,7 +39,6 @@ ynh_script_progression --message="Ensuring downward compatibility..."
if [ -d "/var/lib/$app" ]; then if [ -d "/var/lib/$app" ]; then
ynh_print_info --message="Moving the data folder from '/var/lib/$app' to '$data_dir'" ynh_print_info --message="Moving the data folder from '/var/lib/$app' to '$data_dir'"
mv "/var/lib/$app" "$data_dir" mv "/var/lib/$app" "$data_dir"
ynh_secure_remove "/var/lib/$app"
fi fi
#================================================= #=================================================