summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-27 20:16:53 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-27 20:16:53 +0200
commitf240707e8b271f3dd3efbebb68ab178f41204f74 (patch)
tree4774935d3f2cd107c0c9c0685c72ba871d42c176
parent805347c3bf8d7454979b32e710a5c537673b536a (diff)
oops
-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 .
}