Code

* packaging/macosx/Resources/script: Fx for loading the app bundle on
authormjwybrow <mjwybrow@users.sourceforge.net>
Sun, 30 Mar 2008 07:17:35 +0000 (07:17 +0000)
committermjwybrow <mjwybrow@users.sourceforge.net>
Sun, 30 Mar 2008 07:17:35 +0000 (07:17 +0000)
    10.4 systems and prior.

packaging/macosx/Resources/script

index 95ee6afbf273bd4fb6ee07c77d036b94ea97e880..ec3861f4d479f0b58762167726debd4e75982c08 100755 (executable)
@@ -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"