You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
407 B
34 lines
407 B
#!/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
|
|
|
|
|
|
|
|
|