summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 6b9264e..569f437 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -322,7 +322,7 @@ pkg_remove () {
pkg_update () {
cd $PDIR
if ("$PKG_PROTO" = 'ssh') {
- scp $PKG_ROOT/.links .
+ scp $PKG_HOST:/(echo $PKG_ROOT | cut -d / -f 4-)/.links .
} elif ("$PKG_PROTO" = 'file') {
cp $PKG_ROOT/.links .
}