summaryrefslogtreecommitdiff
path: root/debian/default-fonts-fc-sdk.postinst
blob: d50cb31273525b96c7cab62f04128489f292a507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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