Permalink
Browse files

ct: Remove pull/push support for unlisted packages

  • Loading branch information...
1 parent 4b3e57a commit eb9cf83b5939225b78ef34ed60d7baaaf6f28be3 @derf derf committed Oct 18, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/ct
View
@@ -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

0 comments on commit eb9cf83

Please sign in to comment.