diff -u openoffice.org-2.3.0/debian/changelog openoffice.org-2.3.0/debian/changelog --- openoffice.org-2.3.0/debian/changelog +++ openoffice.org-2.3.0/debian/changelog @@ -1,3 +1,10 @@ +openoffice.org (1:2.3.0-1ubuntu5.4) gutsy-proposed; urgency=low + + * ttf-opensymbol.postinst.in: + workaround for fontconfig cache write failure (LP: #104553) + + -- Namhyung Kim Wed, 09 Jan 2008 16:46:58 +0900 + openoffice.org (1:2.3.0-1ubuntu5.3) gutsy-proposed; urgency=low * debian/rules: Loosen file move to libdba680l?.so since diff -u openoffice.org-2.3.0/debian/ttf-opensymbol.postinst.in openoffice.org-2.3.0/debian/ttf-opensymbol.postinst.in --- openoffice.org-2.3.0/debian/ttf-opensymbol.postinst.in +++ openoffice.org-2.3.0/debian/ttf-opensymbol.postinst.in @@ -4,6 +4,7 @@ THIS_PACKAGE=ttf-opensymbol THIS_SCRIPT=postinst +TMPFILE=`tempfile` set -e @@ -11,7 +12,12 @@ if [ "$1" = "configure" ] && [ -x /usr/bin/fc-cache ] && [ -e /etc/fonts/fonts.conf ]; then echo "Updating fontconfig cache..." - fc-cache -fs + fc-cache -fs 2>&1 $TMPFILE || + if [ -e $TEMPFILE ]; then + cut -f1 -d: $TMPFILE | xargs touch + fc-cache -fs + fi + rm -f $TMPFILE fi #DEBHELPER#