[msic] separate installing tool

This commit is contained in:
Klesh Wong 2021-01-13 09:43:42 +08:00
parent 00a2346b26
commit ddeeb64b91

View File

@ -23,9 +23,9 @@ case "$PM" in
# cli # cli
case "$DISTRIB_CODENAME" in case "$DISTRIB_CODENAME" in
xenial) xenial)
sudo apt install -y qemu-kvm libvirt-bin virtinst bridge-utils cpu-checker sudo apt install -y qemu-kvm libvirt-bin bridge-utils cpu-checker
;; ;;
focal) focal|bionic)
sudo apt install -y libvirt-daemon-system libvirt-clients cpu-checker sudo apt install -y libvirt-daemon-system libvirt-clients cpu-checker
;; ;;
*) *)
@ -37,6 +37,8 @@ case "$PM" in
# gui # gui
if [ -n "$DISPLAY" ] ;then if [ -n "$DISPLAY" ] ;then
sudo apt install -y virt-manager sudo apt install -y virt-manager
else
sudo apt install -y virtinst
fi fi
;; ;;
pacman) pacman)