From 71d558781ec884fc3e132aca2ee13ebd0c2278a2 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 21 Apr 2020 12:29:01 +0200 Subject: [PATCH] Fix upgrade /usr/share/yunohost/helpers.d/string: line 50: replace_string: unbound variable --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 98ae7e6..ffd7bea 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"