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"