mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
scripts/mkimage-yaml.sh: only create extracted_size for img.gz
Don't bother ship tarballs without the .gz.
This commit is contained in:
parent
4be55d7862
commit
b72a9f5d5b
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ EOF
|
|||
size_and_sum "$image"
|
||||
|
||||
case "$file" in
|
||||
*.gz)
|
||||
*.img.gz)
|
||||
extracted=${image%.gz}
|
||||
if ! [ -f "$extracted" ]; then
|
||||
zcat < "$image" > "$extracted"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue