From f7e9dea2630af6426ddd654cd7ccdd58af250872 Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Tue, 22 Oct 2024 19:28:25 +0200 Subject: [PATCH] Improve logging in updating mods (#518) Took 55 minutes --- docker/files/update-mods.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/files/update-mods.sh b/docker/files/update-mods.sh index 20bfffe..1587a84 100755 --- a/docker/files/update-mods.sh +++ b/docker/files/update-mods.sh @@ -28,7 +28,7 @@ update_mod() MOD_NAME="$1" MOD_NAME_ENCODED="${1// /%20}" - print_step "Checking for update of mod $MOD_NAME..." + print_step "Checking for update of mod $MOD_NAME for factorio $FACTORIO_VERSION ..." MOD_INFO_URL="$MOD_BASE_URL/api/mods/$MOD_NAME_ENCODED" MOD_INFO_JSON=$(curl --silent "$MOD_INFO_URL") @@ -54,7 +54,7 @@ update_mod() return 0 fi - print_step "Downloading..." + print_step " Downloading $MOD_FILENAME" FULL_URL="$MOD_BASE_URL$MOD_URL?username=$USERNAME&token=$TOKEN" HTTP_STATUS=$(curl --silent -L -w "%{http_code}" -o "$MOD_DIR/$MOD_FILENAME" "$FULL_URL")