Hey all,<br><br> I'm looking for clarification. I wrote a script for system upgrades with 755 permissions and wondering how best to improve it. How do I not use sudo on any of the commands?<br><br># Backup current mirrorlist<br>
sudo mv /etc/pacman.d/mirrorlist mv/etc/pacman.d/mirrorlist.SAF<br><br># Find top 6 local mirrors and save as mirrorlist<br>sudo reflector -l "United States" 6 rank --save /etc/pacman.d/mirrorlist<br><br># Re-sync mirrors and upgrade system just like you would with apt-get<br>
sudo pacman -Syyu<br>