summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-10-18 21:22:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-10-18 21:22:12 +0200
commiteb9cf83b5939225b78ef34ed60d7baaaf6f28be3 (patch)
treedd71e3fef8d71527810ef8e5ced280ae6205972a
parent4b3e57a113f6d8b2d940aff721c117cba04423b1 (diff)
ct: Remove pull/push support for unlisted packages
-rwxr-xr-xbin/ct4
1 files 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