Files
arthur-os/bin/omarchy-pkg-missing
T
2026-04-28 12:03:46 -04:00

13 lines
255 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Returns true if any of the named packages are missing from the system (or false if they're all there).
# omarchy:args=<packages...>
for pkg in "$@"; do
if ! pacman -Q "$pkg" &>/dev/null; then
exit 0
fi
done
exit 1