From 251dd8b869beab3d05cac1131a010989553cea05 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 25 Feb 2009 21:20:37 +0000 Subject: simplaret: minor changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@792 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/simplaret | 4 ++-- 1 file 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 -- cgit v1.2.3