summaryrefslogtreecommitdiff
path: root/debian/default-fonts-fc-sdk.postinst
diff options
context:
space:
mode:
authorSehong Na <sehong.na@samsung.com>2014-05-31 12:35:38 +0900
committerSehong Na <sehong.na@samsung.com>2014-05-31 12:35:38 +0900
commite53a7bef56540d44218a65336bd2f3bcb9d74c31 (patch)
tree8acb9c86e36576102212749d1d5324a148e40a67 /debian/default-fonts-fc-sdk.postinst
downloaddefault-fonts-fc-sdk-e53a7bef56540d44218a65336bd2f3bcb9d74c31.tar.gz
default-fonts-fc-sdk-e53a7bef56540d44218a65336bd2f3bcb9d74c31.tar.bz2
default-fonts-fc-sdk-e53a7bef56540d44218a65336bd2f3bcb9d74c31.zip
Initialize Tizen 2.3
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
+