aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-08-26 15:21:25 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-08-26 15:21:25 +0000
commit6c6b1f95c4d7d82c088bc2ac0a80a51828471e18 (patch)
tree50922a36813e63d1c0d146c5ac0c8581c032c089
parentdda1b0be90e4c9ffa9eeb4be608b4fbfb6edebc8 (diff)
downloadsimplepkg-6c6b1f95c4d7d82c088bc2ac0a80a51828471e18.tar.gz
simplepkg-6c6b1f95c4d7d82c088bc2ac0a80a51828471e18.tar.bz2
simplaret: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@429 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-xtrunk/src/simplaret2
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-[^-]+-[^-]+-[^-]+$'"`