mirror of
https://github.com/harish2704/installer-scripts.git
synced 2026-09-10 06:11:08 +00:00
Fix update help messages
This commit is contained in:
@@ -2,15 +2,19 @@
|
||||
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
cat<<EEE
|
||||
installer-scripts --update | --install <app_name> | --list
|
||||
EEE
|
||||
printHelp;
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
|
||||
. "$appRoot/lib/installer_common";
|
||||
|
||||
printHelp(){
|
||||
cat<<EOF
|
||||
installer-scripts --update | --check | --install <app_name> | --list
|
||||
EOF
|
||||
}
|
||||
|
||||
printPackages(){
|
||||
cd "$appRoot/packages";
|
||||
ls;
|
||||
|
||||
Reference in New Issue
Block a user