aboutsummaryrefslogtreecommitdiff
path: root/misc/conkyforecast/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/conkyforecast/doinst.sh')
-rw-r--r--misc/conkyforecast/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/conkyforecast/doinst.sh b/misc/conkyforecast/doinst.sh
new file mode 100644
index 0000000000000..3884b2a547c35
--- /dev/null
+++ b/misc/conkyforecast/doinst.sh
@@ -0,0 +1,11 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+