summaryrefslogtreecommitdiff
path: root/debian/default-fonts-fc-sdk.postinst
diff options
context:
space:
mode:
authorminsu81.han <minsu81.han@samsung.com>2011-08-11 15:13:06 +0900
committerminsu81.han <minsu81.han@samsung.com>2011-08-11 15:13:06 +0900
commita83fc11a0db2b300c95c35537e689326fd635a1a (patch)
tree3f9e66b0aded182e3d056a16f72c117b21ef6347 /debian/default-fonts-fc-sdk.postinst
parentc29ca657108327eb5d47b33936e10e7265135204 (diff)
downloaddefault-fonts-fc-sdk-a83fc11a0db2b300c95c35537e689326fd635a1a.tar.gz
default-fonts-fc-sdk-a83fc11a0db2b300c95c35537e689326fd635a1a.tar.bz2
default-fonts-fc-sdk-a83fc11a0db2b300c95c35537e689326fd635a1a.zip
Rename default-fonts-fc-slp to default-fonts-fc-sdk
Diffstat (limited to 'debian/default-fonts-fc-sdk.postinst')
-rw-r--r--debian/default-fonts-fc-sdk.postinst20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/default-fonts-fc-sdk.postinst b/debian/default-fonts-fc-sdk.postinst
new file mode 100644
index 0000000..d50cb31
--- /dev/null
+++ b/debian/default-fonts-fc-sdk.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
+