summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
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"