4 changed files with 43 additions and 9 deletions
@ -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 |
||||
|
|
||||
|
|
||||
|
|
Loading…
Reference in new issue