1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-10-09 22:59:17 +02:00
parent 2d403405da
commit 35ad0d05f4

View file

@ -37,7 +37,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=5
if [ -d "$install_dir/data" ]; then
if [ ! -d "$data_dir/data" ]; then
ynh_print_warn "Migrating data directory to $data_dir..."
# remove old configuration files