diff options
Diffstat (limited to '.local/bin/ifinstalled')
| -rwxr-xr-x | .local/bin/ifinstalled | 3 |
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 ;} |
