Browse Source

Fix help message

master
Harish.K 10 years ago
parent
commit
5974679b5d
  1. 10
      bin/installer-script.sh

10
bin/installer-script.sh

@ -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;

Loading…
Cancel
Save