summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-xfonts
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-xfonts')
-rw-r--r--autoscripts/postinst-xfonts20
1 files changed, 2 insertions, 18 deletions
diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts
index af02e12..4c5ab1b 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