mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
Fix upgrade
/usr/share/yunohost/helpers.d/string: line 50: replace_string: unbound variable
This commit is contained in:
parent
ea760668df
commit
71d558781e
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ ynh_print_info --message="Configuring Kimai2..."
|
|||
local_conf="$final_path/config/packages/local.yaml"
|
||||
ynh_backup_if_checksum_is_different --file="$local_conf"
|
||||
sudo cp ../conf/local.yaml $local_conf
|
||||
ynh_replace_string --match_string="__APP__" "$app" --target_file="$local_conf"
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$local_conf"
|
||||
if [ $registration -eq 1 ]
|
||||
then
|
||||
ynh_replace_string --match_string="__REGISTRATION__" --replace_string="true" --target_file="$local_conf"
|
||||
|
|
Loading…
Add table
Reference in a new issue