Prefer powerpill to update Archlinux VM
This is the recommended way to connect through update proxy.
This commit is contained in:
parent
6ba1d2ff78
commit
3050852cbb
@ -10,6 +10,8 @@ elif [ -e /etc/redhat-release -a -x /usr/bin/yum ]; then
|
|||||||
update_cmd='yum update'
|
update_cmd='yum update'
|
||||||
elif [ -e /etc/debian_version ]; then
|
elif [ -e /etc/debian_version ]; then
|
||||||
update_cmd='apt-get update && apt-get -V dist-upgrade'
|
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
|
elif [ -e /etc/arch-release ]; then
|
||||||
update_cmd='pacman -Suy'
|
update_cmd='pacman -Suy'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user