small fix
This commit is contained in:
parent
2a2b98021c
commit
85905b84cb
|
@ -20,9 +20,9 @@ echo "KEYMAP=${cfg[lang_console]}" > "${dest}"/etc/vconsole.conf
|
|||
echo "${cfg[lang]}.UTF-8 UTF-8" >> "${dest}"/etc/default/libc-locales
|
||||
echo "LANG=${cfg[lang]}.UTF-8" > "${dest}"/etc/locale-user.conf
|
||||
|
||||
cp -a "${dest}"/etc/profile.d/locale.sh "${dest}"/etc/profile.d/99-locale-user.sh
|
||||
sed -i 's/locale.conf/locale-user.conf/' "${dest}"/etc/profile.d/99-locale-user.sh
|
||||
sed -i '/^if/i [ "$(id -u)" -eq 0 ] && return' "${dest}"/etc/profile.d/99-locale-user.sh
|
||||
cp -a "${dest}"/etc/profile.d/locale.sh "${dest}"/etc/profile.d/zz-locale-user.sh
|
||||
sed -i 's/locale.conf/locale-user.conf/' "${dest}"/etc/profile.d/zz-locale-user.sh
|
||||
sed -i '/^if/i [ "$(id -u)" -eq 0 ] && return' "${dest}"/etc/profile.d/zz-locale-user.sh
|
||||
|
||||
{ echo "tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0";
|
||||
echo "/dev/mapper/voidvg.${diskid}-root / btrfs defaults,subvol=void-rootfs 0 0";
|
||||
|
|
Loading…
Reference in New Issue
Block a user