aboutsummaryrefslogtreecommitdiff
path: root/debian/libdui-tests.postinst
blob: 0c6e28d3edec1fffee7738a524abc527267c7c79 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# add en_US.UTF-8 locale if not already there:
# (this locale is needed for the test ft_duigconfitem)

if ! egrep -q -E "^[[:space:]]*en_US.UTF-8[[:space:]]+UTF-8" /etc/locale.gen ; then
   echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
   /usr/sbin/locale-gen
fi