summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-28 20:05:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-28 20:05:16 +0200
commit2c8245123ef2f193b11c1238c4628d22366da39b (patch)
tree0547a1e6525d762562b821bbe154fa783b0e70d1 /bin
parent08f544950aa50dbd02f22286ba2a562ba6c8267d (diff)
hopefully fixed pkg_list_available
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 28d44c0..dd06875 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -143,7 +143,7 @@ pkg_list_installed () {
pkg_list_available () {
if (echo "$PKG_ROOT" | grep "^ssh" &> /dev/null) {
- ssh -q $(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1 packages'
+ ssh -q $(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^([^/]*)/.*$!\1!') ls -1 $(echo "$PKG_ROOT" | sed 's!^ssh://[^/]*/!!')
}
}