updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qemu-mcast / qemu.install
blobe16ac027c06002956c58b0fe24503517d68c01d7
1 # kvm:  the new package version
2 post_install() {
3   #
4   groupadd kvm -f -g 78
5   echo ">>> PLEASE READ FOR KVM USAGE!"
6   echo ">>>  Load the correct KVM module, you will need a KVM capable CPU!"
7   echo ">>>  Add yourself to the group 'kvm'."
8   echo ">>>  Use 'qemu -enable-kvm' to use KVM."
9   echo ""
10   if [ "$(vercmp $2 0.11)" -lt 0 ]; then
11     echo "With the release of qemu and qemu-kvm 0.12.X, the kqemu kernel module"
12     echo "is no longer supported and will be removed from the repositories. You"
13     echo "can safely uninstall it from your system."
14   fi
17 post_upgrade() {
18   post_install $1
21 post_remove() {
22   #
23   groupdel kvm