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:
parent
2d403405da
commit
35ad0d05f4
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
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..."
|
ynh_print_warn "Migrating data directory to $data_dir..."
|
||||||
|
|
||||||
# remove old configuration files
|
# remove old configuration files
|
||||||
|
@ -46,7 +46,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_secure_remove --file="$install_dir/config.local.yunohost.php"
|
ynh_secure_remove --file="$install_dir/config.local.yunohost.php"
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir" #--keep="config.local.php"
|
ynh_setup_source --dest_dir="$install_dir" #--keep="config.local.php"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue