4 lines
147 B
Bash
Executable File
4 lines
147 B
Bash
Executable File
#!/bin/sh
|
|
# If $1 command is not available, error code and notify.
|
|
command -v "$1" >/dev/null || { notify-send "$1 is not installed." && exit 1 ;}
|