diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-10 15:54:23 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-10 15:54:23 +0000 |
commit | ee362e585b5b696f455a4c642744cb588429eb9b (patch) | |
tree | ed4e32b7e33f7865b5e71bdc147b1e648834636c /trunk/src | |
parent | 494f01cda212b1359aac656cbaaaeb9f99345b9a (diff) | |
download | simplepkg-ee362e585b5b696f455a4c642744cb588429eb9b.tar.gz simplepkg-ee362e585b5b696f455a4c642744cb588429eb9b.tar.bz2 |
small bugfix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@333 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/simplaret | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret index 20ef8ea..00b0c25 100755 --- a/trunk/src/simplaret +++ b/trunk/src/simplaret @@ -1000,7 +1000,8 @@ function simplaret_solve_dep { local pack="$2" local root="/$3" - installed=`eval "ls $root/var/log/packages/ | egrep '^$pack-[^-]+-[^-]+-[^-]+$'"` + pack="`echo $pack| sed -e 's/\+/\\\+/'`" + installed=`eval "ls $root/var/log/packages/ | egrep -E '^$pack-[^-]+-[^-]+-[^-]+$'"` check=$? if [ -z "$installed" ]; then |