Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

ct: Remove pull/push support for unlisted packages

  • Loading branch information...
commit eb9cf83b5939225b78ef34ed60d7baaaf6f28be3 1 parent 4b3e57a
Daniel Friesel derf authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 bin/ct
4 bin/ct
@@ -914,7 +914,7 @@ function pkg_new {
914 914 function pkg_push {
915 915 check_installed ${1}
916 916
917   - if list_incoming ${1} || ( vcs_has_origin ${1} && ! list_exists ${1} ); then
  917 + if list_incoming ${1}; then
918 918 clear_line
919 919 info "Pushing ${1}\n"
920 920
@@ -995,7 +995,7 @@ function pkg_upgrade {
995 995 return 1
996 996 fi
997 997
998   - if list_incoming ${1} || ( vcs_has_origin ${1} && ! list_exists ${1} ); then
  998 + if list_incoming ${1}; then
999 999 clear_line
1000 1000 info "Updating ${1} to $(list_get_version_remote ${1})\n"
1001 1001 global_hook ${1} pre-update

0 comments on commit eb9cf83

Please sign in to comment.
Something went wrong with that request. Please try again.