#!/bin/sh set -e # Due to /etc/default/locale is a link to /etc/locale.conf on Debian 13 if [ -f /etc/locale.conf -a "$(tail -n1 /etc/locale.gen)" != "$(cat /etc/default/locale)" ] then tail -n1 /etc/locale.gen > /etc/default/locale fi