ref: refs/heads/SuSE-Code-11-Branch
commit 838c26db642152b999dccdc0b7eb3a248c4c2482
Author: Michael Andres
Date: Mon Nov 23 16:19:26 2009 +0100
support optionally compressed product(s).xml
---
tools/repo2solv.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh
index 0995d33..8c959de 100755
--- a/tools/repo2solv.sh
+++ b/tools/repo2solv.sh
@@ -99,7 +99,7 @@ if test "$repotype" = rpmmd ; then
fi
prodfile="/nonexist"
- if test -f product.xml; then
+ if test -f product.xml || test -f product.xml.gz || test -f product.xml.bz2 || products.xml || test -f products.xml.gz || test -f products.xml.bz2 ; then
prodfile=`mktemp` || exit 3
(
echo '<products>'
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org