From Chocolate Owl, 7 Months ago, written in Bash.
Embed
  1. # export TOR proxy
  2. export http_proxy='127.0.0.1:8118'
  3. export https_proxy='127.0.0.1:8118'
  4.  
  5. # sync and update pacman packages. sudo -E is so the TOR proxies will work
  6. sudo -E pacman -Syu
  7.  
  8. # update packages for AUR (and any remaining pacman since this does both system and AUR). Seems to respect port 8118 so far as well)
  9. yay
  10.  
  11. # update flatpaks. works with http/s proxy variable out of the box, no need for sudo -E
  12. flatpak update -v
captcha