From 6c6b1f95c4d7d82c088bc2ac0a80a51828471e18 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 26 Aug 2007 15:21:25 +0000 Subject: simplaret: small fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@429 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/simplaret | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trunk/src') 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-[^-]+-[^-]+-[^-]+$'"` -- cgit v1.2.3