Skip to content

Commit c66270e

Browse files
author
PoTe
committed
gpm has plugins now, plugins are cool
1 parent dd0536d commit c66270e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bin/gpm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ case "${1:-"install"}" in
7272
usage
7373
;;
7474
*)
75-
usage
76-
exit 1
75+
(which "gpm-$1" > /dev/null && gpm-$1 $BASH_ARGV) || usage && exit 1
7776
;;
7877
esac

0 commit comments

Comments
 (0)