From b701ea5e3df52d86b9cbae0a6b15e9669225e3a1 Mon Sep 17 00:00:00 2001 From: the Sane <3657071+the-sane@users.noreply.github.com> Date: Sat, 18 Sep 2021 15:27:51 -0400 Subject: [PATCH] Fix gzip error for non-gzip archives --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 3356644..b443116 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -883,7 +883,7 @@ runner_install() { # Get the path of the first item listed in the archive # This should either be a subdirectory or the path ./ # depending on how the archive was created - first_filepath="$(stdbuf -oL tar -tzf "$tmp_dir/$runner_file" | head -n 1)" + first_filepath="$(stdbuf -oL tar -tf "$tmp_dir/$runner_file" | head -n 1)" # Extract the runner case "$first_filepath" in