diff options
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/default-fonts-fc-sdk.install | 2 | ||||
-rw-r--r-- | debian/default-fonts-fc-sdk.postinst | 20 |
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 + |