From c6f012808495c6311caf8c53914e9b4e805b9f2f Mon Sep 17 00:00:00 2001 From: MathieuW Date: Sun, 13 Aug 2023 13:42:12 +0200 Subject: [PATCH] Update config --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 9314672..26a4c5e 100644 --- a/scripts/config +++ b/scripts/config @@ -6,7 +6,7 @@ function run__upload_button() { local data_dir=$(ynh_app_setting_get --app=$app --key=data_dir) local filename="$(echo "$upload_url" | awk -F/ '{print $NF}')" ynh_print_info --message="Downloading fileā€¦" - wget --tries 3 --no-dns-cache --timeout 900 --output-document="$data_dir/$filename" "$upload_url" 2>> + wget --tries 3 --no-dns-cache --timeout 900 --output-document="$data_dir/$filename" "$upload_url" 2>&1 ynh_print_info --message="Adding file to Kiwix library" $install_dir/kiwix-manage $data_dir/library.xml add "$data_dir/$filename" yunohost service restart kiwix