diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-07 10:42:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-07 10:42:08 +0200 |
commit | 447213fc519df3fd0741aa0cb52e641060d4df83 (patch) | |
tree | 26124dbbe07063f0a76d4e1b1f75bbfdcf3ed3ec /bin | |
parent | 8038b277f89fdca7999451b2c3f60aee3b571862 (diff) |
Shortened pkg, updated pkg(1) and the zsh completion
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -824,10 +824,13 @@ cd $PKG_DIR || die "Cannot cd $PKG_DIR" # Note: # wrap foobar "$1" <- the "" are neccessary here, since $1 is optional (and therefore may be empty) case $action in - add) pkg_add $* ;; - delete) pkg_remove $* ;; + add|install) + pkg_add $* + ;; + delete|remove) + pkg_remove $* + ;; info) pkg_info $* ;; - install) pkg_add $* ;; list) pkg_list $* ;; log) pkg_log $* ;; push) @@ -835,7 +838,6 @@ case $action in wrap pkg_push "$1" 'Pushing' ;; refresh) wrap pkg_refresh "$1" 'Refreshing' ;; - remove) pkg_remove $* ;; status) wrap pkg_status "$1" 'Checking package status' ;; update) pkg_update $* ;; upgrade|pull) |