Disable SC2086 because pacstrap not work with ""

This commit is contained in:
Jesús 2022-05-25 01:38:39 +08:00
parent e451619c37
commit e7472b9276
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -878,7 +878,8 @@ installbase(){
clear clear
echo "pacstrap /mnt ${pkgs}" echo "pacstrap /mnt ${pkgs}"
pacstrap /mnt "${pkgs}" # shellcheck disable=SC2086
pacstrap /mnt ${pkgs}
pressanykey pressanykey
} }
@ -1520,7 +1521,8 @@ archsyslinuxinstall(){
fi fi
echo "pacstrap /mnt syslinux ${additionalpkg}" echo "pacstrap /mnt syslinux ${additionalpkg}"
pacstrap /mnt syslinux "${additionalpkg}" # shellcheck disable=SC2086
pacstrap /mnt syslinux ${additionalpkg}
pressanykey pressanykey
clear clear
@ -1647,7 +1649,8 @@ archextrasmenu(){
done done
clear clear
echo "pacstrap /mnt ${pkgs}" echo "pacstrap /mnt ${pkgs}"
pacstrap /mnt "${pkgs}" # shellcheck disable=SC2086
pacstrap /mnt ${pkgs}
if [[ "${pkgs}" == *"dhcpcd"* ]]; then if [[ "${pkgs}" == *"dhcpcd"* ]]; then
archchroot enabledhcpcd archchroot enabledhcpcd
fi fi