Fixed ifinstalled command after dunst update.

This commit is contained in:
AlbinAlbyl 2019-04-17 13:05:42 +00:00 committed by GitHub
parent b352bd061f
commit ca20964b10

View file

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