projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64eb1c9
)
Fix handling of compressed susetags files
author
Dirk Mueller
<dmueller@suse.de>
Sat, 17 Jul 2010 08:18:30 +0000
(10:18 +0200)
committer
Dirk Mueller
<dmueller@suse.de>
Sat, 17 Jul 2010 08:18:30 +0000
(10:18 +0200)
The 11.3 pool contains packages.gz, so try uncompressing packages.gz
instead of packages
tools/repo2solv.sh
patch
|
blob
|
history
diff --git
a/tools/repo2solv.sh
b/tools/repo2solv.sh
index
4b1c5c2
..
e07755e
100755
(executable)
--- 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