summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminsu81.han <minsu81.han@samsung.com>2011-08-11 06:13:06 (GMT)
committerminsu81.han <minsu81.han@samsung.com>2011-08-11 06:13:06 (GMT)
commita83fc11a0db2b300c95c35537e689326fd635a1a (patch)
tree3f9e66b0aded182e3d056a16f72c117b21ef6347
parentc29ca657108327eb5d47b33936e10e7265135204 (diff)
downloaddefault-fonts-fc-sdk-a83fc11a0db2b300c95c35537e689326fd635a1a.zip
default-fonts-fc-sdk-a83fc11a0db2b300c95c35537e689326fd635a1a.tar.gz
default-fonts-fc-sdk-a83fc11a0db2b300c95c35537e689326fd635a1a.tar.bz2
Rename default-fonts-fc-slp to default-fonts-fc-sdk
-rw-r--r--debian/control2
-rw-r--r--debian/default-fonts-fc-sdk.install2
-rw-r--r--debian/default-fonts-fc-sdk.postinst20
3 files changed, 23 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 0227237..462a0ee 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: default-fonts-fc-sdk
Section: misc
Priority: extra
Maintainer: MyoungWoon Roy Kim <myoungwoon.kim@samsung.com>
-Uploaders:
+Uploaders: Minsu Han <minsu81.han@samsung.com>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2
Homepage: N/A
diff --git a/debian/default-fonts-fc-sdk.install b/debian/default-fonts-fc-sdk.install
new file mode 100644
index 0000000..aa796c6
--- /dev/null
+++ b/debian/default-fonts-fc-sdk.install
@@ -0,0 +1,2 @@
+usr/etc/fonts/conf.d/*
+usr/etc/fonts/conf.avail/*
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
+