This commit is contained in:
2015-07-12 18:23:01 +05:30
parent d9fe5fdcfa
commit 8f62fb263f
4 changed files with 43 additions and 9 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
echo $0 $1 $2 $3;
if [ -z "$1" ]; then
cat<<EEE
installer-scripts --update | --install <app_name> | --list
EEE
exit 1;
fi
. $(dirname $(readlink -f $0))/../lib/installer_common;
printPackages(){
cd $appDir/installer-scripts/packages;
ls;
}
case $1 in
--update)
updateSelf;
;;
--list)
printPackages;
;;
--install)
installPackage;
;;
esac