aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-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