diff options
author | joey <joey> | 2002-01-27 00:25:37 +0000 |
---|---|---|
committer | joey <joey> | 2002-01-27 00:25:37 +0000 |
commit | 4f577ba14b2e6e8571246717a1eec408c9b618ae (patch) | |
tree | 4b6df3d7ebe79466ad063ae8ce1c7b406771a7d9 /autoscripts/postinst-xfonts | |
parent | d6f3bdb1c18ff73a755949134c8850a7b075289f (diff) |
r503: * dh_installman: more documentation about the .TH line. Closes: #129205
* dh_installxfonts:
- Packages that use this should depend on xutils. See man page.
- However, if you really want to, you can skip the dep, and the
postinst will avoid running program that arn't available. Closes: #131053
- Use update-fonts-dir instead of handling encodings ourselves. Yay!
- Pass only the last component of the directory name to
update-fonts-*, since that's what they perfer now.
- Other changes, chould fully comply with Debian X font policy now.
Diffstat (limited to 'autoscripts/postinst-xfonts')
-rw-r--r-- | autoscripts/postinst-xfonts | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts index af02e124..4c5ab1b8 100644 --- a/autoscripts/postinst-xfonts +++ b/autoscripts/postinst-xfonts @@ -1,19 +1,3 @@ -makefontdir() { - ENCDIR=/usr/lib/X11/fonts/encodings - if [ -d $ENCDIR -a -d $ENCDIR/large ]; then - /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@" - else - /usr/bin/X11/mkfontdir "$@" - fi -} - -if [ "$1" = "configure" ]; then - fontdirs="#FONTDIRS#" - updatecmds="#UPDATECMDS#" - - for dir in $fontdirs; do - for currentcmd in $updatecmds; do - $currentcmd /usr/lib/X11/fonts/$dir - done - done +if [ -x /usr/sbin/update-fonts-dir ]; then + #CMDS# fi |