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