CVS:oo-deb/debian ttf-opensymbol.postrm,1.2,1.2.2.1
Update of /cvs/debian-openoffice/oo-deb/debian
In directory gluck:/tmp/cvs-serv12536
Modified Files:
Tag: OPENOFFICE_ORG_1_1_3
ttf-opensymbol.postrm
Log Message:
port ttf-opensymbol fix over
Index: ttf-opensymbol.postrm
===================================================================
RCS file: /cvs/debian-openoffice/oo-deb/debian/ttf-opensymbol.postrm,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- ttf-opensymbol.postrm 10 Jul 2004 14:31:50 -0000 1.2
+++ ttf-opensymbol.postrm 21 Oct 2004 22:24:33 -0000 1.2.2.1
@@ -2,9 +2,13 @@
set -e
-if [ "$1" = "configure" ] && [ -x /usr/bin/fc-cache ]; then
+if [ "$1" = "remove" ] && [ -x /usr/bin/fc-cache ]; then
echo "Updating fontconfig cache..."
fc-cache -f
+fi
+
+if [ "$1" = "purge" ]; then
+ rm /usr/share/fontconfig/truetype/openoffice/fonts.cache*
fi
#DEBHELPER#
Reply to: