diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-10-18 21:22:12 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-10-18 21:22:12 +0200 |
commit | eb9cf83b5939225b78ef34ed60d7baaaf6f28be3 (patch) | |
tree | dd71e3fef8d71527810ef8e5ced280ae6205972a /bin/ct | |
parent | 4b3e57a113f6d8b2d940aff721c117cba04423b1 (diff) |
ct: Remove pull/push support for unlisted packages
Diffstat (limited to 'bin/ct')
-rwxr-xr-x | bin/ct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |