small fix

This commit is contained in:
teldra 2021-03-12 21:46:00 +01:00
parent b797f96910
commit 6331088d8a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ echo "LANG=${cfg[lang]}.UTF-8" > "${dest}"/etc/locale-user.conf
cp -a "${dest}"/etc/profile.d/locale.sh "${dest}"/etc/profile.d/locale-user.sh
sed -i 's/locale.conf/locale-user.conf/' "${dest}"/etc/profile.d/locale-user.sh
sed '/^if/i [[ "$(id -u)" -eq 0 ]] && return' "${dest}"/etc/profile.d/locale-user.sh
sed -i '/^if/i [[ "$(id -u)" -eq 0 ]] && return' "${dest}"/etc/profile.d/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";