Update of /home/halls/cvs/debian-openoffice/oo-debian-files/share
In directory gluck:/tmp/cvs-serv21538/share

Modified Files:
        openoffice.org-fonts 
Log Message:
 * share/openoffice.org-fonts: don't run fc-cache if it isn't
   installed (for Woody backport)


Index: openoffice.org-fonts
===================================================================
RCS file: 
/home/halls/cvs/debian-openoffice/oo-debian-files/share/openoffice.org-fonts,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- openoffice.org-fonts        8 Oct 2003 11:00:38 -0000       1.2
+++ openoffice.org-fonts        6 Jan 2004 17:48:40 -0000       1.3
@@ -2,7 +2,7 @@
 
 set -e
 
-if [ "$1" = openoffice.org ] && [ "$2" = configure ]; then
+if [ "$1" = openoffice.org ] && [ "$2" = configure ] && [ -x /usr/bin/fc-cache 
]; then
     echo "Updating fontconfig cache"
     /usr/bin/fc-cache -f
 fi

Reply via email to