1
0
Fork 0
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:
Natanael Copa 2024-11-29 21:59:58 +01:00
parent 4be55d7862
commit b72a9f5d5b

View file

@ -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"