diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-28 12:20:22 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-28 12:20:22 +0200 |
commit | 31a6ac7019198b01a4dffcc87c309215e7148387 (patch) | |
tree | a76843b06b5a756f082c78118ef635ae4c29ac4c /bin | |
parent | fa4bf243d9966fc973d9d2bf11cc26199505dd1b (diff) |
bin/pkg: pkg_list_*: use package list
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -383,15 +383,11 @@ pkg_changesrc () { } pkg_list_installed () { - =ls -1 $PDIR + cut -d ' ' -f 1 $PDIR/.list } pkg_list_available () { - if ([ "$PKG_PROTO" = 'ssh' ]) { - ssh -q "$PKG_HOST" ls -1 "$PKG_PATH" - } elif ([ "$PKG_PROTO" = 'file' ]) { - ls -1 "$PKG_PATH" - } + cut -d ' ' -f 1 $PDIT/.list-remote } # Local modifications should not be overseen... |