Prefer powerpill to update Archlinux VM

This is the recommended way to connect through update proxy.
This commit is contained in:
Marek Marczykowski-Górecki 2016-11-12 22:30:37 +01:00
parent 6ba1d2ff78
commit 3050852cbb
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -10,6 +10,8 @@ elif [ -e /etc/redhat-release -a -x /usr/bin/yum ]; then
update_cmd='yum update'
elif [ -e /etc/debian_version ]; then
update_cmd='apt-get update && apt-get -V dist-upgrade'
elif [ -e /etc/arch-release -a -x /usr/bin/powerpill ]; then
update_cmd='powerpill -Suy'
elif [ -e /etc/arch-release ]; then
update_cmd='pacman -Suy'
else