From eb9cf83b5939225b78ef34ed60d7baaaf6f28be3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 18 Oct 2010 21:22:12 +0200 Subject: ct: Remove pull/push support for unlisted packages --- bin/ct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ct b/bin/ct index 4458c2f..c4deb24 100755 --- a/bin/ct +++ b/bin/ct @@ -914,7 +914,7 @@ function pkg_new { function pkg_push { check_installed ${1} - if list_incoming ${1} || ( vcs_has_origin ${1} && ! list_exists ${1} ); then + if list_incoming ${1}; then clear_line info "Pushing ${1}\n" @@ -995,7 +995,7 @@ function pkg_upgrade { return 1 fi - if list_incoming ${1} || ( vcs_has_origin ${1} && ! list_exists ${1} ); then + if list_incoming ${1}; then clear_line info "Updating ${1} to $(list_get_version_remote ${1})\n" global_hook ${1} pre-update -- cgit v1.2.3