From f2bd9398dc450499817c80af1b878d5466277e42 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 20 Apr 2009 16:47:57 +0200 Subject: pkg: pkg_list: not-installed: use list_is_installed instead of a direct grep --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index 87aea1a..0f00ffb 100755 --- a/bin/pkg +++ b/bin/pkg @@ -719,7 +719,7 @@ function pkg_list { ;; not-installed) while read package crap; do - grep "^$package " $PDIR/.list &> /dev/null || echo $package + list_is_installed $package || echo $package done < $PDIR/.list-remote ;; esac -- cgit v1.2.3