Files
omarchy/bin/omarchy-pkg-present
2026-01-05 10:17:32 +01:00

10 lines
199 B
Bash
Executable File

#!/bin/bash
# Returns true if all of the named packages are installed on the system (or false if any of them are missing).
for pkg in "$@"; do
pacman -Q "$pkg" &>/dev/null || exit 1
done
exit 0