mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-29 06:34:20 +00:00
Fix gzip error for non-gzip archives
This commit is contained in:
parent
05d75ec82f
commit
b701ea5e3d
@ -883,7 +883,7 @@ runner_install() {
|
|||||||
# Get the path of the first item listed in the archive
|
# Get the path of the first item listed in the archive
|
||||||
# This should either be a subdirectory or the path ./
|
# This should either be a subdirectory or the path ./
|
||||||
# depending on how the archive was created
|
# 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
|
# Extract the runner
|
||||||
case "$first_filepath" in
|
case "$first_filepath" in
|
||||||
|
Loading…
Reference in New Issue
Block a user