Don't hack 'override_install_langs' yum option

This shouldn't be needed, re-defining %_install_langs should be
enough.
This commit is contained in:
Pavel Raiskup
2016-11-24 11:15:39 +01:00
parent b0f431b85b
commit fa73086cf1
2 changed files with 1 additions and 15 deletions

View File

@@ -163,9 +163,6 @@ localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archiv
mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
build-locale-archive
echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf
awk '(NF==0&&!done){print "override_install_langs='$LANG'";done=1}{print}' \
< /etc/yum.conf > /etc/yum.conf.new
mv /etc/yum.conf.new /etc/yum.conf
echo -n "Getty fixes"