mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
12 lines
210 B
Bash
Executable File
12 lines
210 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Returns true if any of the named packages are missing from the system (or false if they're all there).
|
|
|
|
for pkg in "$@"; do
|
|
if ! pacman -Q "$pkg" &>/dev/null; then
|
|
exit 0
|
|
fi
|
|
done
|
|
|
|
exit 1
|