aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-07 07:34:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-07 07:34:52 +0000
commit472e20fba119995c5cfaebb3645f2256c7496dfc (patch)
tree649e80311169e8a7784f77d92cf15d8691419b56 /main
parent0dc750b2cbcf58da547804d25b61413ae9b455c8 (diff)
downloadaports-472e20fba119995c5cfaebb3645f2256c7496dfc.tar.bz2
aports-472e20fba119995c5cfaebb3645f2256c7496dfc.tar.xz
main/libvirt: ignore if libvirt group creation fails
it will return error if the group already exists
Diffstat (limited to 'main')
-rw-r--r--main/libvirt/APKBUILD2
-rwxr-xr-xmain/libvirt/libvirt.post-install1
2 files changed, 2 insertions, 1 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index ed6379764a..a3042e8d44 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -2,7 +2,7 @@
pkgname=libvirt
pkgver=1.2.10
_ver="${pkgver/_rc/-rc}"
-pkgrel=0
+pkgrel=1
pkgdesc="A virtualization API for several hypervisor and container systems"
url="http://libvirt.org/"
arch="all"
diff --git a/main/libvirt/libvirt.post-install b/main/libvirt/libvirt.post-install
index 0b02a59554..0be14b9e58 100755
--- a/main/libvirt/libvirt.post-install
+++ b/main/libvirt/libvirt.post-install
@@ -1,2 +1,3 @@
#!/bin/sh
addgroup -S libvirt &>/dev/null
+exit 0