summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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"
- }
}
}