mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Update ifinstalled
This commit is contained in:
parent
fd4689fe25
commit
63620fd238
@ -1,4 +1,4 @@
|
|||||||
#!/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 "📦 $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 ;}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user