From a02e9aef455bfde0c7e66fb27f58786df1816c09 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Sun, 30 Mar 2008 07:17:35 +0000 Subject: [PATCH] * packaging/macosx/Resources/script: Fx for loading the app bundle on 10.4 systems and prior. --- packaging/macosx/Resources/script | 11 ++++++++--- 1 file 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" -- 2.30.2