.
This commit is contained in:
parent
b098c67991
commit
7249d3a0ad
2 changed files with 2 additions and 2 deletions
|
@ -320,7 +320,7 @@ function installPackage () {
|
||||||
#
|
#
|
||||||
# check dependency and install it if necessary
|
# check dependency and install it if necessary
|
||||||
# input : package manager, package name, cmd/bin to check
|
# input : package manager, package name, cmd/bin to check
|
||||||
#FIXME:
|
#
|
||||||
function checkAndInstallDep () {
|
function checkAndInstallDep () {
|
||||||
if ! which $3 >/dev/null; then
|
if ! which $3 >/dev/null; then
|
||||||
printf "[DEP] dependency $2 not found [ ""$BOLDROUGE""!!"$NORMAL" ]\n"
|
printf "[DEP] dependency $2 not found [ ""$BOLDROUGE""!!"$NORMAL" ]\n"
|
||||||
|
|
|
@ -44,7 +44,7 @@ while getopts ":h,v,f,c,t,u" option; do
|
||||||
yggInit
|
yggInit
|
||||||
#installIdea
|
#installIdea
|
||||||
#installNetTools
|
#installNetTools
|
||||||
installOffice
|
#installOffice
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
f) # install all apps
|
f) # install all apps
|
||||||
|
|
Loading…
Reference in a new issue