From c5f18a3c4afce453a3d3534304791b4f53a33e01 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sat, 7 Nov 2020 16:44:21 +0100 Subject: [PATCH] fix: remove uneccessary () --- install.sh | 2 +- setup.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index d607b4f..c02dbfb 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -function isInstalled(){ +function isInstalled { if [ "$(which $1)" != "" ]; then return 0; fi diff --git a/setup.sh b/setup.sh index 57cc237..b43a242 100755 --- a/setup.sh +++ b/setup.sh @@ -1,14 +1,14 @@ #!/bin/bash cd "$(dirname "$0")" -function isInstalled(){ +function isInstalled { if [ "$(which $1)" != "" ]; then return 0; fi return 1; } -function installOptional(){ +function installOptional { echo "install optional '$*'" # Check if any of the listed programs are installed