small fix

This commit is contained in:
teldra 2021-03-13 10:50:50 +01:00
parent 5b92f06555
commit f69dfab627
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ echo "#ignorepkg=wifi-firmware"; } > "${dest}"/etc/xbps.d/10-ignore-firmware.con
{ echo "en_DK.UTF-8 UTF-8";
echo "en_US.UTF-8 UTF-8"; } > "${dest}"/etc/default/libc-locales
echo "LANG=en_US.UTF-8" > "${dest}"/etc/locale.conf
echo "KEYMAP=${cfg[lang_console]}" > "${dest}"/etc/vconsole.conf
echo "${cfg[lang]}.UTF-8 UTF-8" >> "${dest}"/etc/default/libc-locales
@ -44,7 +45,7 @@ echo 'ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}
echo 'ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline"' > "${dest}"/etc/udev/rules.d/60-ioschedulers.rules
mkdir -p "${dest}"/etc/bash/bashrc.d/
{ echo "[ \"$(id -u)\" -eq 0 ] && return";
{ echo "[ \"\$(id -u)\" -eq 0 ] && return";
echo 'alias xu="sudo xi -Su"';
echo 'alias xr="sudo xbps-install -R"';
echo 'alias xs="xbps-query -Rs"';