]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
simplaret: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 26 Aug 2007 15:21:25 +0000 (15:21 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Sun, 26 Aug 2007 15:21:25 +0000 (15:21 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@429 04377dda-e619-0410-9926-eae83683ac58

trunk/src/simplaret

index 04e236313d3e15f2d2c7aaee7723cc1af499dbdf..54b8f0e8956c50c1c4357b785d7a4ea90c977b95 100755 (executable)
@@ -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-[^-]+-[^-]+-[^-]+$'"`