summaryrefslogtreecommitdiffstats
path: root/.local/bin/ifinstalled
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-02-08 18:43:37 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-02-08 18:43:37 -0500
commit2b5df860ded1412a0c0be0d140d138616e926dfc (patch)
tree7cf2598594bfd640b61771704012c87cae154034 /.local/bin/ifinstalled
parenta25e8b640ac83b6eb345977e59803e999bc42202 (diff)
downloadeibhear-2b5df860ded1412a0c0be0d140d138616e926dfc.tar.gz
eibhear-2b5df860ded1412a0c0be0d140d138616e926dfc.tar.zst
eibhear-2b5df860ded1412a0c0be0d140d138616e926dfc.zip
#!/bin/sh shebang. newline after universalized.
Diffstat (limited to '.local/bin/ifinstalled')
-rwxr-xr-x.local/bin/ifinstalled3
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/ifinstalled b/.local/bin/ifinstalled
index baa7cda..c8e1c2e 100755
--- a/.local/bin/ifinstalled
+++ b/.local/bin/ifinstalled
@@ -1,3 +1,4 @@
-#!/usr/bin/env sh
+#!/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 ;}