From 92fd0d9fb1ebec6085a61d276e69cf2141c63394 Mon Sep 17 00:00:00 2001 From: Femi Agbabiaka Date: Sun, 22 Apr 2018 20:25:44 -0500 Subject: [PATCH 1/2] Use /bin/sh as the interpreter for installation script. Users of *BSD systems will usually have bash installed under /usr/local or something of the sort. There were two viable options here, the other is to use the `env` tool to determine the location of bash. However, after linting this file with the sh interpreter installed on my system, I discovered that this will do. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 673b8cf..eab1ccd 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Set source and target directories powerline_fonts_dir="$( cd "$( dirname "$0" )" && pwd )" From 6c7f30eea35810a96990db3cd082b59ee139a1d7 Mon Sep 17 00:00:00 2001 From: Femi Agbabiaka Date: Sun, 22 Apr 2018 20:52:38 -0500 Subject: [PATCH 2/2] Modify uninstall script as well. --- uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall.sh b/uninstall.sh index b0b0b4f..36f17e9 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Set source and target directories powerline_fonts_dir="$( cd "$( dirname "$0" )" && pwd )"