File: postinst

package info (click to toggle)
locale-ko 4-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 236 kB
  • ctags: 5
  • sloc: makefile: 50; sh: 17
file content (26 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -e

#DEBHELPER#

LANG=C
umask 022

cd /etc

if [ -f locale.alias ]; then
	cp -a locale.alias locale.alias.new
	(
		set +e
		grep -v 'ko_KR.eucKR' locale.alias
		set -e
	) > locale.alias.new
fi

cat <<EOF >>locale.alias.new
ko		ko_KR.eucKR
korean		ko_KR.eucKR
EOF

mv locale.alias.new locale.alias

exit 0