From: Dirk Mueller Date: Sat, 17 Jul 2010 08:18:30 +0000 (+0200) Subject: Fix handling of compressed susetags files X-Git-Tag: BASE-SuSE-Code-12_1-Branch~158^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=232ee5417a6227cbeeada494b29a5572272abcc8;p=thirdparty%2Flibsolv.git Fix handling of compressed susetags files The 11.3 pool contains packages.gz, so try uncompressing packages.gz instead of packages --- diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh index 4b1c5c2b..e07755ed 100755 --- a/tools/repo2solv.sh +++ b/tools/repo2solv.sh @@ -56,13 +56,13 @@ repomd_decompress() { susetags_findfile_cat() { if test -s "$1.xz" ; then - xz -dc "$1" + xz -dc "$1.xz" elif test -s "$1.lzma" ; then - lzma -dc "$1" + lzma -dc "$1.lzma" elif test -s "$1.bz2" ; then - bzip2 -dc "$1" + bzip2 -dc "$1.bz2" elif test -s "$1.gz" ; then - gzip -dc "$1" + gzip -dc "$1.gz" elif test -s "$1" ; then cat "$1" fi