From 5841c87a2e49d6cfaff19ddf0c5f3105e6df6c23 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 24 Mar 2008 13:25:11 +0000 Subject: [PATCH] support plaindir repos (at least some) --- tools/repo2solv.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh index 0fb3da7..22461b7 100755 --- 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 -- 2.7.4