]> git.lyx.org Git - lyx.git/blobdiff - development/MacOSX/inkscape
Const
[lyx.git] / development / MacOSX / inkscape
index 692f641428b9d4be43a96c917d526c93944e62b8..4865fde0914eacabd3f9435cc44d6ae10d08f0bf 100755 (executable)
@@ -50,8 +50,9 @@ startinkscape() {
 
 # try to find the inkscape installation...
 # 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 "${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