From: Stephan Kulow Date: Mon, 24 Mar 2008 13:25:11 +0000 (+0000) Subject: support plaindir repos (at least some) X-Git-Tag: BASE-SuSE-Code-12_1-Branch~308^2~475 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5841c87a2e49d6cfaff19ddf0c5f3105e6df6c23;p=thirdparty%2Flibsolv.git support plaindir repos (at least some) --- diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh index 0fb3da78..22461b7e 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