I am editing an Arch base installation script. I almost got it to work as I wanted!
I need to add the following into the end of /etc/pacman.conf
[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
Before I used cat command and it deleted everything inside /etc/pacman.conf and just added this. But I need to add it to the end of the file.
Here is the script I currently have: https://github.com/ArchT420/T420/blob/master/installer.sh