diff options
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -321,9 +321,9 @@ pkg_remove () { pkg_update () { cd $PDIR - if ("$PKG_PROTO" = 'ssh') { - scp $PKG_HOST:/(echo $PKG_ROOT | cut -d / -f 4-)/.links . - } elif ("$PKG_PROTO" = 'file') { + if ([ "$PKG_PROTO" = 'ssh' ]) { + scp $PKG_HOST:$(echo $PKG_ROOT | cut -d / -f 4- | sed 's!~/!!')/.list .remote-list + } elif ([ "$PKG_PROTO" = 'file' ]) { cp $PKG_ROOT/.links . } } |