diff options
Diffstat (limited to 'trunk')
-rwxr-xr-x | trunk/src/simplaret | 2 |
1 files changed, 1 insertions, 1 deletions
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-[^-]+-[^-]+-[^-]+$'"` |