aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-22 14:00:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-22 14:00:08 +0000
commitcfb5fcad7f74b5932afc832c787762631ad797a9 (patch)
treec569becf73a38a3b04bc69ac630da8bd64ec062a /x11
parenta634809584b0175f4a2eb205e537cf29a5235af8 (diff)
downloadaports-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/APKBUILD2
-rw-r--r--x11/qemu/qemu.pre-install5
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
+