to /etc/pacman.conf every time the script runs. It now checks to see if the text is present, and if it is, skips editing the file. It also no longer appends, but edits the entries in place using awk, keeping in line with /etc/pacman.conf's formatting.
Switched from appending
to
/etc/pacman.conf
every time the script runs. It now checks to see if the text is present, and if it is, skips editing the file. It also no longer appends, but edits the entries in place usingawk
, keeping in line with/etc/pacman.conf
's formatting.