Commit 43c6fce4 authored by Michael Shigorin's avatar Michael Shigorin

live: fix 20-locale

It shouldn't overwrite the pre-existing configuration but should fire if there's none.
parent d94232fb
#!/bin/sh -efu
# if no means for locale setup are employed,
# it should still be somewhat reasonable
# it should still be at least marginally reasonable
# NB: keyboard layout not included!
if [ -s /etc/sysconfig/i18n ]; then exit 0; fi
mkdir -p /etc/sysconfig
cat >> /etc/sysconfig/i18n << _EOF_
# mkimage-profiles live 20-locale hook
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment