From 79bdd19e5c940bef9c4c6e3223b8e607a6894522 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 24 Jul 2008 12:07:55 +0200 Subject: bin/pkg: Use unix style -add etc --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- cgit v1.2.3