mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
fix comparaison
This commit is contained in:
parent
4433219b07
commit
f4dce8e8a3
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ chown $app:$app "$install_dir/config.local.php"
|
|||
|
||||
ynh_replace_string --match_string="//require '$data_dir/data/config.local.user.php';" --replace_string="require '$data_dir/data/config.local.user.php';" --target_file="$install_dir/config.local.php"
|
||||
|
||||
if ynh_compare_current_package_version --comparison le 1.3.6~ynh2; then
|
||||
if ynh_compare_current_package_version --comparison le --version 1.3.6~ynh2; then
|
||||
ynh_script_progression --message="keep old user configuration file..." --weight=5
|
||||
mv "$data_dir/data/config.local.user.php" "$data_dir/data/config.local.user.php.old"
|
||||
ynh_add_config --template="config.local.user.php" --destination="$data_dir/data/config.local.user.php"
|
||||
|
|
Loading…
Add table
Reference in a new issue