]> git.wh0rd.org - fontconfig.git/blame - debian/fontconfig.postrm
Get the DLL from "bin" where modern libtools put it, not "lib".
[fontconfig.git] / debian / fontconfig.postrm
CommitLineData
dc2e06ab
KP
1#! /bin/sh
2# postrm script for fontconfig
3
4set -e
5
6CONF=/etc/fonts/local.conf
7
8case "$1" in
9 purge)
10 if [ -x /usr/bin/ucf ]; then
11 ucf --purge $CONF
12 fi
13 rm -f $CONF
14 rm -rf /var/lib/fontconfig /var/lib/defoma/fontconfig.d
15 for dir in /usr/share/fonts /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ; do
16 if [ -d $dir ]; then
17 find $dir -name fonts.cache-1 | xargs rm -f
18 fi
19 done
20 rmdir /usr/local/share/fonts 2> /dev/null || true
21 ;;
22esac
23
24#DEBHELPER#
25
26exit 0