diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-22 14:00:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-22 14:00:08 +0000 |
commit | cfb5fcad7f74b5932afc832c787762631ad797a9 (patch) | |
tree | c569becf73a38a3b04bc69ac630da8bd64ec062a /x11 | |
parent | a634809584b0175f4a2eb205e537cf29a5235af8 (diff) | |
download | aports-cfb5fcad7f74b5932afc832c787762631ad797a9.tar.bz2 aports-cfb5fcad7f74b5932afc832c787762631ad797a9.tar.xz |
x11/qemu: fix pre-install script
dont fail if kvm group exist
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qemu/APKBUILD | 2 | ||||
-rw-r--r-- | x11/qemu/qemu.pre-install | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/x11/qemu/APKBUILD b/x11/qemu/APKBUILD index 1db67e0967..b8c3e133e9 100644 --- a/x11/qemu/APKBUILD +++ b/x11/qemu/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu pkgver=0.10.6 -pkgrel=1 +pkgrel=2 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://www.nongnu.org/qemu/" license="GPL-2 LGPL-2" diff --git a/x11/qemu/qemu.pre-install b/x11/qemu/qemu.pre-install index 42ec0482c9..0119bacbea 100644 --- a/x11/qemu/qemu.pre-install +++ b/x11/qemu/qemu.pre-install @@ -1,3 +1,6 @@ #!/bin/sh -addgroup kvm +if ! getent group | grep -q "^kvm:"; then + addgroup kvm +fi + |