summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2008-03-30 07:17:35 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2008-03-30 07:17:35 +0000
commit6d1aae1dd18408b86e6a92e9aa57438efcbf1182 (patch)
treef16ecf23450b170fbca976a1582e58e2e30c0cfe /packaging
parentadd CMakeLists.txt files for live_effects (diff)
downloadinkscape-6d1aae1dd18408b86e6a92e9aa57438efcbf1182.tar.gz
inkscape-6d1aae1dd18408b86e6a92e9aa57438efcbf1182.zip
* packaging/macosx/Resources/script: Fx for loading the app bundle on
10.4 systems and prior. (bzr r5234)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/Resources/script11
1 files changed, 8 insertions, 3 deletions
diff --git a/packaging/macosx/Resources/script b/packaging/macosx/Resources/script
index 95ee6afbf..ec3861f4d 100755
--- a/packaging/macosx/Resources/script
+++ b/packaging/macosx/Resources/script
@@ -36,12 +36,17 @@ if [[ $VERSION -le 4 ]]; then
export DISPLAY="`cat /tmp/display.$UID`"
ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11
+
+ # Warn the user about time-consuming generation of fontconfig caches.
+ test -f ${HOME}/.inkscape/.fccache-new || exit 12
+else
+ # Leopard onwards...
+
+ # Warn the user about time-consuming generation of fontconfig caches.
+ test -d ${HOME}/.fontconfig || exit 12
fi
-# Warn the user about time-consuming generation of fontconfig caches.
-test -d ${HOME}/.fontconfig || exit 12
-
BASE="`echo "$0" | sed -e 's/\/Contents\/Resources\/script/\//'`"
cd "$BASE"