summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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://[^/]*/!!')
}
}