diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-07 10:49:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-07 10:49:30 +0200 |
commit | c987638443ed2e58e464bf0574a63639e521a95d (patch) | |
tree | 8fce316bedc80b58afc31fb660e889602dc3768c /bin | |
parent | 492b192d5dc9a97fd2688a195b41936c9b5b761c (diff) |
pkg: Deprecated pkg install and pkg delete as well
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -825,9 +825,15 @@ cd $PKG_DIR || die "Cannot cd $PKG_DIR" # wrap foobar "$1" <- the "" are neccessary here, since $1 is optional (and therefore may be empty) case $action in add|install) + if [[ $action == install ]] { + warn "pkg install is deprecated, use pkg add instead\n" + } pkg_add $* ;; delete|remove) + if [[ $action == delete ]] { + warn "pkg delete is deprecated, use pkg remove instead\n" + } pkg_remove $* ;; info) pkg_info $* ;; |