Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <sat-solver> SuSE-Code-11-Branch : support optionally compressed product(s).xml
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 23 Nov 2009 16:19:26 +0100
  • Message-id: <E1NCahO-0000xT-MX@xxxxxxxxxxxxxxxx>
ref: refs/heads/SuSE-Code-11-Branch
commit 838c26db642152b999dccdc0b7eb3a248c4c2482
Author: Michael Andres <ma@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages