mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Update upgrade
keep config.local.user.php
This commit is contained in:
parent
95cb5edf91
commit
35047bd732
1 changed files with 2 additions and 3 deletions
|
@ -38,10 +38,9 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
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
|
||||
ynh_secure_remove --file="$install_dir/data/config.local.user.php"
|
||||
# remove old configuration files
|
||||
ynh_secure_remove --file="$install_dir/config.local.yunohost.php"
|
||||
|
||||
mv "$install_dir/data" "$data_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue