update qubes.InstallUpdateGUI to support archlinux
This commit is contained in:
parent
fb470fe86f
commit
b06c29c6dc
@ -8,6 +8,8 @@ if [ -e /etc/redhat-release ]; then
|
|||||||
xterm -title update -e su -l -c 'yum update; echo Done. Press Enter to exit.; read x'
|
xterm -title update -e su -l -c 'yum update; echo Done. Press Enter to exit.; read x'
|
||||||
elif [ -e /etc/debian_version ]; then
|
elif [ -e /etc/debian_version ]; then
|
||||||
xterm -title update -e su -l -c 'apt-get update && apt-get -V dist-upgrade; echo Done. Press Enter to exit.; read x'
|
xterm -title update -e su -l -c 'apt-get update && apt-get -V dist-upgrade; echo Done. Press Enter to exit.; read x'
|
||||||
|
elif [ -e /etc/arch-release ]; then
|
||||||
|
xterm -title update -e su -l -c 'pacman -Suy; echo Done. Press Enter to exit.; read x'
|
||||||
else
|
else
|
||||||
xterm -title update -e su -l -c 'echo Unsupported distribution, install updates manually; bash -i'
|
xterm -title update -e su -l -c 'echo Unsupported distribution, install updates manually; bash -i'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user