1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-16 07:19:51 +02:00

Added: Support for Homebrew-installed mono (#3090)

This commit is contained in:
Jeff Byrnes 2018-10-20 13:38:32 -04:00 committed by Leonardo Galli
parent 6c45c7db1b
commit 95fdf38662

View File

@ -9,7 +9,11 @@ APPNAME="Radarr"
#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"