summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-24 12:07:55 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-24 12:07:55 +0200
commit79bdd19e5c940bef9c4c6e3223b8e607a6894522 (patch)
tree3a32b3a12c85f66df909ea6f79ce824af6214d1e /bin
parent26492fee7b5647eaba8b80ac14e873d1f6d85d88 (diff)
bin/pkg: Use unix style -add etc
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 3f821dd..e9ef25d 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -548,7 +548,7 @@ pkg_doc () {
## Now what shall we do...
##
-case $1 in
+case ${1:s/-/} in
add) pkg_add $2 ;;
changelog) pkg_changelog $2 ;;
changeroot) pkg_changesrc $2 ;;