minor changes
This commit is contained in:
parent
bbd1b5f201
commit
c5ec686beb
@ -69,7 +69,18 @@ do
|
||||
fi
|
||||
|
||||
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 $dependency in
|
||||
xorg)
|
||||
echo "xorg is has no command."
|
||||
;;
|
||||
*)
|
||||
failures+=("$dependency")
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
|
||||
@ -85,18 +96,7 @@ if [ $laptop -eq 1 ]; then
|
||||
fi
|
||||
|
||||
if ! yay -Qi $dependency &> /dev/null; then
|
||||
# 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 $dependency in
|
||||
xorg)
|
||||
echo "xorg is has no command."
|
||||
;;
|
||||
*)
|
||||
failures+=("$dependency")
|
||||
;;
|
||||
esac
|
||||
failures+=("$dependency")
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user