mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
Fix help message
This commit is contained in:
@@ -1,11 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
printHelp;
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
|
appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
|
||||||
. "$appRoot/lib/installer_common";
|
. "$appRoot/lib/installer_common";
|
||||||
|
|
||||||
@@ -44,6 +39,11 @@ installPackage(){
|
|||||||
mainInstaller;
|
mainInstaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
printHelp;
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
update)
|
update)
|
||||||
updateSelf;
|
updateSelf;
|
||||||
|
|||||||
Reference in New Issue
Block a user