Add 'isinstalled' script
This commit is contained in:
parent
ad628f6e62
commit
cff956e2bf
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