From ea760668dfc81d906f4307c35ee9072e50030cf5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 21 Apr 2020 00:37:30 +0200 Subject: [PATCH] Fix install /usr/share/yunohost/helpers.d/string: line 50: replace_string: unbound variable --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7104748..c894560 100755 --- a/scripts/install +++ b/scripts/install @@ -118,7 +118,7 @@ ynh_print_info --message="Configuring Kimai2..." local_conf="$final_path/config/packages/local.yaml" # Configure registration 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"