]> git.lyx.org Git - features.git/commitdiff
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected...
authorStephan Witt <switt@lyx.org>
Tue, 19 May 2020 06:54:57 +0000 (08:54 +0200)
committerStephan Witt <switt@lyx.org>
Tue, 19 May 2020 08:26:27 +0000 (10:26 +0200)
(cherry picked from commit dfb33eb5690e65abc773a1a8c6bc17386f6be212)

development/MacOSX/inkscape

index b57fda56676a57488bfe72a341ba8e6c6a1b39a2..4865fde0914eacabd3f9435cc44d6ae10d08f0bf 100755 (executable)
@@ -52,7 +52,7 @@ startinkscape() {
 # at first try the well known location for Inkscape 1.0
 # but check for Inkscape 0.92.x too and skip this if it's in Resources
 RESDIR="/Applications/Inkscape.app/Contents/MacOS"
-if [ !f "/Applications/Inkscape.app/Contents/Resources/bin/inkscape" -a -f "${RESDIR}"/inkscape -a -x "${RESDIR}"/inkscape ]; then
+if [ ! -f "/Applications/Inkscape.app/Contents/Resources/bin/inkscape" -a -f "${RESDIR}"/inkscape -a -x "${RESDIR}"/inkscape ]; then
        startinkscape "${RESDIR}"/inkscape "$@"
        exit 0
 fi