From 307b3536b765343eaf35d5c34eb10f31dd9cf115 Mon Sep 17 00:00:00 2001 From: Jeff Byrnes Date: Sat, 15 Sep 2018 13:49:22 -0400 Subject: [PATCH] New: Compatibility with Hombrew-installed mono --- osx/Sonarr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osx/Sonarr b/osx/Sonarr index db2a35399..a72332a6e 100644 --- a/osx/Sonarr +++ b/osx/Sonarr @@ -9,7 +9,11 @@ APPNAME="Sonarr" #set up environment if [[ -x '/opt/local/bin/mono' ]]; then + # Macports and mono-supplied installer path export PATH="/opt/local/bin:$PATH" +elif [[ -x '/usr/local/bin/mono' ]]; then + # Homebrew-supplied path to mono + export PATH="/usr/local/bin:$PATH" fi export DYLD_FALLBACK_LIBRARY_PATH="$DIR"