We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0432c87 commit 827d5e0Copy full SHA for 827d5e0
fs-manager/fs-manager
@@ -143,7 +143,7 @@ function __check_for()
143
in_cache=( "$@" )
144
if [ $# -ge 1 ]; then
145
for i in "$@"; do
146
- if command -v "${in_cache[@]}" >> /dev/null ; then
+ if ! command -v "${in_cache[@]}" >> /dev/null ; then
147
msg "[${GREEN} Executing ${RST}] sudo apt install -y $i"
148
apt install -y "$i" || {
149
((x=x+1))
0 commit comments