diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-21 22:18:16 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-21 22:18:16 +0200 |
commit | 0afd88a06a0deb343578b77490482b24f1a64ba2 (patch) | |
tree | 2309226e313fb3be13e7837eac301f020a03c07f /bin/pkg | |
parent | 2a068c3de7f63ade2ea5249c784878a9da5126d6 (diff) |
bin/pkg: oops
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ pkg_list_installed () { } pkg_list_available () { - if grep "^ssh" "$PKG_ROOT" &> /dev/null; then + if grep "^ssh" <<< "$PKG_ROOT" &> /dev/null; then ssh $(sed 's!^ssh://!!' <<< "$PKG_ROOT" | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1' fi } |