From c28e401b5c6dada23d6f73dc615a0d8af4436a52 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Nov 2008 22:42:38 +0100 Subject: Removed pkglist backwards-compatibility --- bin/pkg | 8 -------- 1 file changed, 8 deletions(-) (limited to 'bin/pkg') 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" - } } } -- cgit v1.2.3