mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Update upgrade
try keep just the config.local.php
This commit is contained in:
parent
1fe9b92fd5
commit
22785a0458
1 changed files with 0 additions and 9 deletions
|
@ -37,15 +37,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
|||
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..."
|
||||
|
||||
# remove old configuration files
|
||||
ynh_secure_remove --file="$install_dir/config.local.yunohost.php"
|
||||
|
||||
mv "$install_dir/data" "$data_dir"
|
||||
fi
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep="config.local.php data/plugins"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue