minor changes
This commit is contained in:
parent
493c79a352
commit
69369f36fd
@ -85,7 +85,17 @@ if [ $laptop -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ! yay -Qi $dependency &> /dev/null; then
|
if ! yay -Qi $dependency &> /dev/null; then
|
||||||
failures+=("$dependency")
|
# there are likely some dependencies that won't have an associated command
|
||||||
|
# TODO: find a better way to deal with this, eg have something like xorg COMMAND xprop in default programs
|
||||||
|
|
||||||
|
# just catch everything, ik there are better ways to do this
|
||||||
|
case $failure in
|
||||||
|
xorg)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
failures+=("$dependency")
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user