Fix help message

This commit is contained in:
2016-01-02 18:41:14 +05:30
parent 1d6ce1125c
commit 5974679b5d
+5 -5
View File
@@ -1,11 +1,6 @@
#!/usr/bin/env bash
if [ -z "$1" ]; then
printHelp;
exit 1;
fi
appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
. "$appRoot/lib/installer_common";
@@ -44,6 +39,11 @@ installPackage(){
mainInstaller;
}
if [ -z "$1" ]; then
printHelp;
exit 1;
fi
case $1 in
update)
updateSelf;