From 6543fb66b06af498fc4f4789b3aa8ec5e726e90db56dc51257269b21c828cead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 8 Dec 2010 08:00:20 +0000 Subject: [PATCH] Accepting request 55075 from home:yecril71pl:branches:openSUSE:Tools OBS-URL: https://build.opensuse.org/request/show/55075 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-recompress?expand=0&rev=3 --- recompress | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recompress b/recompress index e8571c0..70ec382 100644 --- a/recompress +++ b/recompress @@ -56,6 +56,9 @@ for i in $FILES; do if [ "${FILE%.gz}" != "$FILE" ]; then UNCOMPRESS="gunzip -c" BASENAME="${FILE%.gz}" + elif [ "${FILE%.tgz}" != "$FILE" ]; then + UNCOMPRESS="gunzip -c" + BASENAME="${FILE%.tgz}.tar" elif [ "${FILE%.bz2}" != "$FILE" ]; then UNCOMPRESS="bunzip2 -c" BASENAME="${FILE%.bz2}"