From: Michael Schroeder Date: Tue, 7 Feb 2012 12:05:16 +0000 (+0100) Subject: - remove 'echo ' for repodata products, which seems to just break things... X-Git-Tag: BASE-SuSE-Code-12_2-Branch~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13ee2b6422673ea3cfe351121a73916af678c87;p=thirdparty%2Flibsolv.git - remove 'echo ' for repodata products, which seems to just break things and have no benefit --- diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh index db1052c6..3f24e17e 100755 --- a/tools/repo2solv.sh +++ b/tools/repo2solv.sh @@ -139,12 +139,8 @@ if test "$repotype" = rpmmd ; then prodxml=`repomd_findfile product product.xml` fi if test -n "$prodxml" -a -s "$prodxml" ; then - prodfile=`mktemp` || exit 3 - ( - echo '' - repomd_decompress "$prodxml" - echo '' - ) | grep -v '\?xml' | rpmmd2solv $parser_options > $prodfile || exit 4 + prodfile=`mktemp` || exit 3 + repomd_decompress "$prodxml" | rpmmd2solv $parser_options > $prodfile || exit 4 fi patternfile=