forked from altcloud/mkimage-profiles
live: fix 20-locale
It shouldn't overwrite the pre-existing configuration but should fire if there's none.
This commit is contained in:
parent
d94232fb87
commit
43c6fce4d1
@ -1,8 +1,10 @@
|
||||
#!/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
|
||||
|
Loading…
Reference in New Issue
Block a user