From: rhatto Date: Sun, 26 Aug 2007 15:21:25 +0000 (+0000) Subject: simplaret: small fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6c6b1f95c4d7d82c088bc2ac0a80a51828471e18;p=simplepkg.git simplaret: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@429 04377dda-e619-0410-9926-eae83683ac58 --- diff --git a/trunk/src/simplaret b/trunk/src/simplaret index 04e2363..54b8f0e 100755 --- a/trunk/src/simplaret +++ b/trunk/src/simplaret @@ -718,7 +718,7 @@ function simplaret_search_and_process_patch { fi # search if its installed in the jail - if grep -e "^$sugested$" $PACKAGES_TMP; then + if grep -q -e "^$sugested$" $PACKAGES_TMP; then pack="`echo $sugested | sed -e 's/\+/\\\+/'`" installed=`eval "ls $root/var/log/packages/ | egrep -E '^$pack-[^-]+-[^-]+-[^-]+$'"`