mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +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"
|
size_and_sum "$image"
|
||||||
|
|
||||||
case "$file" in
|
case "$file" in
|
||||||
*.gz)
|
*.img.gz)
|
||||||
extracted=${image%.gz}
|
extracted=${image%.gz}
|
||||||
if ! [ -f "$extracted" ]; then
|
if ! [ -f "$extracted" ]; then
|
||||||
zcat < "$image" > "$extracted"
|
zcat < "$image" > "$extracted"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue