Rename default-fonts-fc-slp to default-fonts-fc-sdk
authorminsu81.han <minsu81.han@samsung.com>
Thu, 11 Aug 2011 06:13:06 +0000 (15:13 +0900)
committerminsu81.han <minsu81.han@samsung.com>
Thu, 11 Aug 2011 06:13:06 +0000 (15:13 +0900)
debian/control
debian/default-fonts-fc-sdk.install [new file with mode: 0644]
debian/default-fonts-fc-sdk.postinst [new file with mode: 0644]

index 0227237..462a0ee 100644 (file)
@@ -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 (file)
index 0000000..aa796c6
--- /dev/null
@@ -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 (file)
index 0000000..d50cb31
--- /dev/null
@@ -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
+