aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-02-25 21:20:37 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-02-25 21:20:37 +0000
commit251dd8b869beab3d05cac1131a010989553cea05 (patch)
tree9982b15536ec23e1452cea71b44c4a6e91788167
parent0103d170ccc398914bf00c24d579c2f572f5aff7 (diff)
downloadsimplepkg-251dd8b869beab3d05cac1131a010989553cea05.tar.gz
simplepkg-251dd8b869beab3d05cac1131a010989553cea05.tar.bz2
simplaret: minor changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@792 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-xtrunk/src/simplaret4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index 5a71768..04281f2 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -763,7 +763,7 @@ function simplaret_search_and_process_patch {
fi
pack="`echo $sugested_pack | sed -e 's/\+/\\\+/'`"
- installed=`eval "ls $root/var/log/packages/ | grep -E '^$pack-[^-]+-[^-]+-[^-]+$'"`
+ installed="`check_installed $pack $root`"
installed_version="`package_version $installed.tgz`"
installed_build="`package_build $installed.tgz`"
@@ -1112,7 +1112,7 @@ function simplaret_solve_dep {
local root="/$3"
pack="`echo $pack| sed -e 's/\+/\\\+/'`"
- installed=`eval "ls $root/var/log/packages/ | grep -E '^$pack-[^-]+-[^-]+-[^-]+$'"`
+ installed="`check_installed $pack $root`"
check=$?
if [ -z "$installed" ]; then