summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-16 10:59:27 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-16 10:59:27 +0100
commite00ef04749a9fcaae12cbd48487d91ed7e6b1bed (patch)
treef238fcb2c76ad27bbf24075b1fafcca39dc083bd
parentc7d0670d7a8c3a9ff8b80a12158d14a145795ada (diff)
bin/pkg: list_exists, list_is_installed: We only want return values
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 0a08f9a..45862f1 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -196,11 +196,11 @@ function vcs_status {
## List stuff
function list_is_installed {
- grep ^"$1 " $PDIR/.list
+ grep ^"$1 " $PDIR/.list &> /dev/null
}
function list_exists {
- grep ^"$1 " $PDIR/.list-remote
+ grep ^"$1 " $PDIR/.list-remote &> /dev/null
}
function list_incoming {