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
This commit is contained in:
Adrian Schröter 2010-12-08 08:00:20 +00:00 committed by Git OBS Bridge
parent da8c3e72f3
commit 6543fb66b0

View File

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