#!/bin/sh
set -e

if [ "xmn_MN UTF-8" != "x$(cat /etc/locale.gen | grep mn_MN)" ]; then
	sed -i '$a mn_MN UTF-8' /etc/locale.gen;
	locale-gen;
fi
