summaryrefslogtreecommitdiffstats
path: root/system/sahel-font/douninst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/sahel-font/douninst.sh')
-rw-r--r--system/sahel-font/douninst.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/sahel-font/douninst.sh b/system/sahel-font/douninst.sh
new file mode 100644
index 0000000000..e9fb7a6ddc
--- /dev/null
+++ b/system/sahel-font/douninst.sh
@@ -0,0 +1,19 @@
+# douninst.sh
+#
+# uninstall script for Slackware >= 15.0
+
+# Update the fonts indexes.
+
+if [ -x /usr/bin/mkfontdir ]; then
+ cd /usr/share/fonts/TTF
+ mkfontdir .
+fi
+
+if [ -x /usr/bin/mkfontscale ]; then
+ cd /usr/share/fonts/TTF
+ mkfontscale .
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ fc-cache -f -v
+fi