mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
need applied only when version 1.2.8
This commit is contained in:
parent
b1c2c0e8d7
commit
c156ef4647
1 changed files with 1 additions and 3 deletions
|
@ -32,7 +32,7 @@ fi
|
|||
#=================================================
|
||||
# KEEP DATA IF NEEDED
|
||||
#=================================================
|
||||
if ynh_app_upstream_version --manifest="1.2.8"
|
||||
if ynh_compare_current_package_version --comparison eq --version 1.2.8~ynh1
|
||||
then
|
||||
ynh_script_progression --message="cleaning conf files..." --weight=5
|
||||
mv "$install_dir/config.local.php" "$install_dir/config.local.php.old"
|
||||
|
@ -42,8 +42,6 @@ then
|
|||
ynh_secure_remove "$install_dir/config.local.php.old"
|
||||
ynh_secure_remove "$install_dir/config.local.user.php"
|
||||
ynh_secure_remove "$install_dir/data/data"
|
||||
else
|
||||
ynh_script_progression --message="next steps upgrade..." --weight=2
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue