Package list orafce / d269128
Fix locale-gen handling Christoph Berg 7 years ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11
22 if [ -f /etc/locale.gen ]; then
33 # Debian
4 grep -Fq "en_US.UTF-8 UTF-8" || echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
5 locale-gen
4 if ! grep -Fwq "en_US.UTF-8 UTF-8" /etc/locale.gen; then
5 echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
6 locale-gen
7 fi
68 else
79 # Ubuntu
810 locale-gen en_US.UTF-8