Add noconfirm to the removal and installation of kernels.

This commit is contained in:
Storm Dragon 2022-03-30 04:56:10 -04:00
parent dc356e52ae
commit efe1f75e08

View File

@ -182,8 +182,8 @@ pacman -Syyu --needed --noconfirm \
xdg-utils xdg-utils
# Change kernels # Change kernels
pacman -R linux-aarch64 uboot-raspberrypi pacman -R --noconfirm linux-aarch64 uboot-raspberrypi
pacman -S linux-rpi pacman -S --noconfirm linux-rpi
# set the language # set the language
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
echo "LANG=$imageLanguage" > /etc/locale.conf echo "LANG=$imageLanguage" > /etc/locale.conf