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