mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Update upgrade
Change namespace
This commit is contained in:
parent
489f04d546
commit
4e7b4b9d47
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,9 @@ ynh_script_progression --message="Updating a configuration file..." --weight=5
|
|||
if ynh_compare_current_package_version --comparison lt --version 1.1.15~ynh1; then
|
||||
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
|
||||
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"
|
||||
ynh_add_config --template="config.local.yunohost.php" --destination="$install_dir/config.local.yunohost.php"
|
||||
# NOTE: Don't overwrite config.local.user.php
|
||||
|
|
Loading…
Add table
Reference in a new issue