1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Update upgrade

explicit comparaison to sed from 1.2.9
This commit is contained in:
Robles Rodolphe 2023-07-27 21:29:36 +02:00 committed by GitHub
parent 3d27fd7133
commit d9e4059a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ if ynh_compare_current_package_version --comparison lt --version 1.1.15~ynh1; th
chmod 750 "$install_dir/config.local.user.php"
ynh_add_config --template="config.local.user.php" --destination="$install_dir/config.local.user.php"
fi
if ynh_compare_current_package_version --comparison lt --version 1.2.9~ynh1; then
if ynh_compare_current_package_version --comparison le --version 1.2.9~ynh1; then
ynh_replace_string --match_string="namespace Garradin;" --replace_string="namespace Paheko;" --target_file="$install_dir/config.local.user.php"
fi
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"