Introduce MODS
This commit is contained in:
1 parent
d1beaebc6c
commit
90bd79860b
1 file changed
+2
-1
@@ -2,6 +2,7 @@
|
|||||||
# Written in sh because the user may not have Perl...to run Auto....
|
# Written in sh because the user may not have Perl...to run Auto....
|
||||||
|
|
||||||
PID=bin/auto.pid
|
PID=bin/auto.pid
|
||||||
|
MODS="Mouse Async Class::Unload"
|
||||||
|
|
||||||
if [ "$1" = "start" ] ; then
|
if [ "$1" = "start" ] ; then
|
||||||
echo "Starting Auto. . ."
|
echo "Starting Auto. . ."
|
||||||
@@ -26,7 +27,7 @@ elif [ "$1" = "status" ]; then
|
|||||||
echo "Status: Auto appears to not be running."
|
echo "Status: Auto appears to not be running."
|
||||||
fi
|
fi
|
||||||
elif [ "$1" = "getmodules" ]; then
|
elif [ "$1" = "getmodules" ]; then
|
||||||
cpan -i Mouse Async Class:Unload
|
cpan -i $MODS
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Usage: auto (start|stop|rehash|status|getmodules)"
|
echo "Usage: auto (start|stop|rehash|status|getmodules)"
|
||||||
|
|||||||
Reference in new issue
Block a user