New: Compatibility with Hombrew-installed mono
This commit is contained in:
parent
24c6d3f4b3
commit
307b3536b7
|
@ -9,7 +9,11 @@ APPNAME="Sonarr"
|
||||||
|
|
||||||
#set up environment
|
#set up environment
|
||||||
if [[ -x '/opt/local/bin/mono' ]]; then
|
if [[ -x '/opt/local/bin/mono' ]]; then
|
||||||
|
# Macports and mono-supplied installer path
|
||||||
export PATH="/opt/local/bin:$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
|
fi
|
||||||
|
|
||||||
export DYLD_FALLBACK_LIBRARY_PATH="$DIR"
|
export DYLD_FALLBACK_LIBRARY_PATH="$DIR"
|
||||||
|
|
Loading…
Reference in New Issue