4 . /usr/share/debconf/confmodule
5 aliasfile=/etc/X11/fonts/misc/xfonts-base.alias
11 echo 'Checking that "fixed" is not from xfonts-traditional...'
13 if grep '^fixed[ ][ ]*-trad-' $aliasfile \
14 /usr/share/fonts/X11/misc/fonts.alias; then
17 Removing xfonts-traditional would break your X server by removing "fixed".
19 You should not remove xfonts-traditional while "fixed" refers to one
20 of its fonts. You probably want to check the differences between
21 /etc/X11/fonts/misc/xfonts-base.alias and xfonts-base.alias.not-trad,
22 reconcile any changes, and then run "update-fonts-alias misc".
23 After that you can retry the removal.
26 printf 'Continue anyway ? [n/y] '
34 for d in /usr/share/fonts/X11 /usr/local/share/fonts/X11; do
35 if ! test -e "$d"; then continue; fi
39 \( -name xfonts-traditional.log -o \
40 -name xfonts-traditional.done -o \
41 -name xfonts-traditional.done.new -o \
42 -name trad--\*.pcf.gz.new \) \
43 -print0 | xargs -0r rm --
47 -name trad--\*.pcf.gz \
48 -print0 | xargs -0r rm --