summaryrefslogtreecommitdiff
path: root/source/ap/terminus-font/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/terminus-font/doinst.sh')
-rw-r--r--source/ap/terminus-font/doinst.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/ap/terminus-font/doinst.sh b/source/ap/terminus-font/doinst.sh
index 18d12513..ece74d76 100644
--- a/source/ap/terminus-font/doinst.sh
+++ b/source/ap/terminus-font/doinst.sh
@@ -1,10 +1,8 @@
#!/bin/sh
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/misc
- mkfontdir .
- )
+ mkfontdir usr/share/fonts/misc 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache -f
+ /usr/bin/fc-cache -f 2> /dev/null
fi