Fix update help messages

This commit is contained in:
2015-09-05 11:35:00 +05:30
parent de09d289f2
commit 967ba909c3
+7 -3
View File
@@ -2,15 +2,19 @@
if [ -z "$1" ]; then if [ -z "$1" ]; then
cat<<EEE printHelp;
installer-scripts --update | --install <app_name> | --list
EEE
exit 1; exit 1;
fi fi
appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. ); appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
. "$appRoot/lib/installer_common"; . "$appRoot/lib/installer_common";
printHelp(){
cat<<EOF
installer-scripts --update | --check | --install <app_name> | --list
EOF
}
printPackages(){ printPackages(){
cd "$appRoot/packages"; cd "$appRoot/packages";
ls; ls;