script revision a2aa00dbaf27e2a3955641a0dc01acf896497640
#
# Author: Aaron Voisine <aaron@voisine.org>
# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
# System version: 3 for Panther, 4 for Tiger, 5 for Leopard
# FIXME apparently this removes the xterm that starts with X from xinitrc but when is it really used? Should we modify the .xinitrc of the user without warning?
echo "rm -f ~/.xinitrc" > ~/.xinitrc
fi
# For Panther and Tiger, start X11
# Start X11 and get DISPLAY
sleep 1
done
fi
# In Leopard, X11 should start on itself
# Warn the user about time-consuming generation of fontconfig caches.
cd "$BASE"
# TODO examine wether it would be wisest to move the code from inkscape shell script and getdisplay.sh to here and only keep the real binary in bin. This may make things easier on Leopard and may also help using Inkscape on the command line