summaryrefslogtreecommitdiff
path: root/debian/default-fonts-fc-slp.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/default-fonts-fc-slp.postinst')
-rw-r--r--debian/default-fonts-fc-slp.postinst20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/default-fonts-fc-slp.postinst b/debian/default-fonts-fc-slp.postinst
new file mode 100644
index 0000000..d50cb31
--- /dev/null
+++ b/debian/default-fonts-fc-slp.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+FONT_FILES="99-slp.conf"
+
+if [ ${USER} == "root" ]
+then
+ # Change file owner
+ # Font files
+ for file in `echo $FONT_FILES`
+ do
+ chown root:root /usr/etc/fonts/conf.d/$file
+ done
+fi
+
+# Font files
+for file in `echo $FONT_FILES`
+do
+ chmod 644 /usr/etc/fonts/conf.d/$file
+done
+