summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-07 10:49:30 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-07 10:49:30 +0200
commitc987638443ed2e58e464bf0574a63639e521a95d (patch)
tree8fce316bedc80b58afc31fb660e889602dc3768c /bin
parent492b192d5dc9a97fd2688a195b41936c9b5b761c (diff)
pkg: Deprecated pkg install and pkg delete as well
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 471f3a9..e174861 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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 $* ;;