mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
try fix comparison version existing
This commit is contained in:
parent
01de0e7c06
commit
17d68b59bb
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ ynh_script_progression --message="Backup of the DB in temporary file...." --weig
|
||||||
tmp_data_backup=$(mktemp -d)
|
tmp_data_backup=$(mktemp -d)
|
||||||
rsync -a $install_dir/data/ $tmp_data_backup/
|
rsync -a $install_dir/data/ $tmp_data_backup/
|
||||||
|
|
||||||
if ynh_compare_current_package_version --comparison le --version 1.2.11~ynh1; then
|
if ynh_compare_current_package_version --comparison le --version 1.2.11~ynh4; then
|
||||||
mv $install_dir/config.local.user.php $tmp_data_backup/
|
mv $install_dir/config.local.user.php $tmp_data_backup/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue