fix dependency installer of bluebomb script
This commit is contained in:
parent
4361343499
commit
46b5eaa522
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ for i in "${dependencies[@]}"; do
|
||||||
[[ -z "$(command -v "$i")" ]] && missing+=("$i")
|
[[ -z "$(command -v "$i")" ]] && missing+=("$i")
|
||||||
done
|
done
|
||||||
for i in "${missing[@]}"; do
|
for i in "${missing[@]}"; do
|
||||||
[[ -n $pm ]] && printf "\n* %s is missing! Attempting to install using detected package manager (you may be prompted for your password)...\n" "$i" | fold -s -w "$(tput cols)" && $sudo0 $pm $(indep $i) || ex "* $i is missing! Please install it using your preferred package manager."
|
[[ -n $pm ]] && printf "\n* %s is missing! Attempting to install using detected package manager (you may be prompted for your password)...\n" "$i" | fold -s -w "$(tput cols)" && $sudo0 $pmi $(indep $i) || ex "* $i is missing! Please install it using your preferred package manager."
|
||||||
done; unset i
|
done; unset i
|
||||||
|
|
||||||
## detect init system
|
## detect init system
|
||||||
|
|
Loading…
Add table
Reference in a new issue