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:
a21f5f7
)
support plaindir repos (at least some)
author
Stephan Kulow
<coolo@suse.de>
Mon, 24 Mar 2008 13:25:11 +0000
(13:25 +0000)
committer
Stephan Kulow
<coolo@suse.de>
Mon, 24 Mar 2008 13:25:11 +0000
(13:25 +0000)
tools/repo2solv.sh
patch
|
blob
|
history
diff --git
a/tools/repo2solv.sh
b/tools/repo2solv.sh
index
0fb3da7
..
22461b7
100755
(executable)
--- a/
tools/repo2solv.sh
+++ b/
tools/repo2solv.sh
@@
-97,5
+97,10
@@
elif test -d suse/setup/descr && test -s content; then
) | susetags2solv -c "${olddir}/content" $parser_options || exit 4
cd "$olddir"
else
- exit 1
+ rpms=`ls -1 *.rpm`
+ if test -n "$rpms"; then
+ rpms2solv $rpms
+ else
+ exit 1
+ fi
fi