diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-01-12 21:56:13 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-01-12 21:56:13 -0500 |
| commit | c0b24e15dcc48c955ec357eb357645443dfd4d6e (patch) | |
| tree | c0b67534ce6f1418da772f683553129b8ebf6437 /.scripts | |
| parent | 7d27809cb7f8accf32649c0f36bcecb23a5698a0 (diff) | |
| download | eibhear-c0b24e15dcc48c955ec357eb357645443dfd4d6e.tar.gz eibhear-c0b24e15dcc48c955ec357eb357645443dfd4d6e.tar.zst eibhear-c0b24e15dcc48c955ec357eb357645443dfd4d6e.zip | |
this will be handy >muh ui
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/tools/ifinstalled | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/tools/ifinstalled b/.scripts/tools/ifinstalled new file mode 100755 index 0000000..bdbcbc4 --- /dev/null +++ b/.scripts/tools/ifinstalled @@ -0,0 +1,3 @@ +#!/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 ;} |
