formatted tools
This commit is contained in:
parent
923adda120
commit
eab36b1dca
1 changed files with 3 additions and 2 deletions
3
home/private_bin/executable_tools
Executable file → Normal file
3
home/private_bin/executable_tools
Executable file → Normal file
|
@ -100,6 +100,8 @@ list() {
|
|||
download() {
|
||||
if ! [ -z "$1" ]; then
|
||||
tool=$1
|
||||
|
||||
echo "installing $tool"
|
||||
info=$(key=$tool yq e 'explode(.) | .[env(key)]' $YAMLDOC)
|
||||
if [[ $info == "null" ]]; then
|
||||
echo "$tool not found in $YAMLDOC"
|
||||
|
@ -175,7 +177,6 @@ if [ -z "$args" ]; then
|
|||
exit 0
|
||||
else
|
||||
echo "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}"
|
||||
echo "installing......"
|
||||
deps_check
|
||||
for tool in "$args"; do
|
||||
download $tool
|
||||
|
|
Loading…
Reference in a new issue