Add 'isinstalled' script
This commit is contained in:
parent
1da39e0f87
commit
7a9a483438
5
.local/bin/scripts/isinstalled
Executable file
5
.local/bin/scripts/isinstalled
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Check if package is installed (pacman based distros) or return error code.
|
||||
|
||||
pacman -Qq "$1" 1>/dev/null 2>&1 || exit 1
|
Loading…
x
Reference in New Issue
Block a user