Added getextras to get modules required my auto modules

This commit is contained in:
Matthew Barksdale committed 2011-01-21 16:21:00 -05:00
1 parent 159600b669
commit 137e502906
1 file changed
+5 -1
+5 -1
View File
@@ -3,6 +3,7 @@
PID=bin/auto.pid
MODS="Mouse Async Class::Unload"
EMODS="MIME::Base64"
if [ "$1" = "start" ] ; then
echo "Starting Auto. . ."
@@ -29,6 +30,9 @@ elif [ "$1" = "status" ]; then
elif [ "$1" = "getmodules" ]; then
cpan -i $MODS
elif [ "$1" = "getextras" ]; then
cpan -i $EMODS
else
echo "Usage: auto (start|stop|rehash|status|getmodules)"
echo "Usage: auto (start|stop|rehash|status|getmodules|getextras)"
fi