Update ifinstalled

This commit is contained in:
Vlad Doster 2020-04-08 10:46:56 -05:00 committed by GitHub
parent fd4689fe25
commit 63620fd238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/bin/sh
# If $1 command is not available, error code and notify.
command -v "$1" >/dev/null || { notify-send "📦 $1" "must be installed for this function." && exit 1 ;}
command -v "$1" >/dev/null || { notify-send "$1" "must be installed for this function." && exit 1 ;}