From c6e69e96421ebf192eb6de537324e269e7bfda78 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 19 May 2019 20:05:14 -0400 Subject: massive cleanup --- .local/bin/ifinstalled | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .local/bin/ifinstalled (limited to '.local/bin/ifinstalled') diff --git a/.local/bin/ifinstalled b/.local/bin/ifinstalled new file mode 100755 index 0000000..b0d23e5 --- /dev/null +++ b/.local/bin/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" "must be installed for this function." && exit 1 ;} -- cgit v1.3.1