diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-07 10:32:00 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-07 10:32:00 +0200 |
commit | 8038b277f89fdca7999451b2c3f60aee3b571862 (patch) | |
tree | e5bf27bfae61ad0b158743e2a300ee6df18712aa | |
parent | 450ce5ae0eff2fc5bb84460ed682f7f497c4207b (diff) |
pkg: Deprecated pkg upgrade in favour of pkg pull
-rwxr-xr-x | bin/pkg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -839,6 +839,9 @@ case $action in status) wrap pkg_status "$1" 'Checking package status' ;; update) pkg_update $* ;; upgrade|pull) + if [[ $action == upgrade ]] { + warn "pkg updgrade is deprecated, use pkg pull instead\n" + } (( AUTOUPDATE )) && pkg_update remote wrap pkg_upgrade "$1" 'Looking for updates' ;; |