11 lines
244 B
Bash
Executable File
11 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# archypr:summary=Returns true if all of the named packages are installed on the system (or false if any of them are missing).
|
|
# archypr:args=<packages...>
|
|
|
|
for pkg in "$@"; do
|
|
pacman -Q "$pkg" &>/dev/null || exit 1
|
|
done
|
|
|
|
exit 0
|