1
0
Fork 0
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:
yalh76 2020-04-21 12:29:01 +02:00
parent ea760668df
commit 71d558781e

View file

@ -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"