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