mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected
(cherry picked from commit 813cd1765c
)
This commit is contained in:
parent
877d296b78
commit
95f18d1c04
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user