summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-28 22:42:38 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-28 22:42:38 +0100
commitc28e401b5c6dada23d6f73dc615a0d8af4436a52 (patch)
tree8b9eba5b83131074d28a6fb9e99ca5cbbdb09278 /bin/pkg
parent0ca9f3183173e3c371b06ec9e17f3a5b9f30a4fe (diff)
Removed pkglist backwards-compatibility
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg8
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/pkg b/bin/pkg
index b17bedd..29fcad5 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -266,16 +266,8 @@ function list_update_remote {
export PDIR
if [[ $PKG_PROTO == 'ssh' ]] {
ssh $PKG_USER@$PKG_HOST "PDIR='$PDIR' $PKG_PATH/core/include/pkglist $PKG_PATH" > .list-remote
- if [[ ${#$(cat .list-remote)} == 0 ]] {
- scp -q $PKG_USER@$PKG_HOST:$PKG_PATH/.list .list-remote
- warn "The pkglist version on your packages_root is outdated, please update\n"
- }
} elif [[ $PKG_PROTO == 'file' ]] {
$PKG_PATH/core/include/pkglist $PKG_PATH > .list-remote
- if [[ ${#$(cat .list-remote)} == 0 ]] {
- cp $PKG_ROOT/.list .list-remote
- warn "The pkglist version on your packages_root is outdated, please update\n"
- }
}
}