remove test for /usr/local access permissions from startup script on OS X.

This was needed for checking access to libjack.dylib in Ardour, but Tracks ships without JACK support,
so this is unnecessary.
This commit is contained in:
Paul Davis 2014-09-21 17:55:10 -04:00
parent 2bff69b2fa
commit d720490cc3

View file

@ -4,16 +4,6 @@
# NOTE: Leopard appears not to set PATH for this script, so be absolutely certain
# never to use any other program without fully specifying the path.
#
# Some versions of Audacity leave /usr/local/lib unreadable/unsearchable. Ardour will not be able to start up if this is
# the case, because we need access to /usr/local/lib/libjack.dylib
#
if test ! -x /usr/local/lib -o ! -r /usr/local/lib ; then
/usr/bin/osascript -e 'tell application "Finder"
display dialog "You appear to have previously installed Audacity which altered your filesystem incorrectly. Ardour cannot run until this is corrected. To correct the error, type the following command into a Terminal window: chmod 755 /usr/local/lib" buttons["OK"]
end tell'
exit 1
fi
# this needs to be set so that we can restore the environment when we want to find JACK (or similar)
export PREBUNDLE_ENV="$(env)"