Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = x86_64 aarch64
PROG = libvirt
-PAK_VER = 43
+PAK_VER = 44
DEPS = ebtables libpciaccess ovmf swtpm qemu
. /opt/pakfire/lib/functions.sh
# creates a new user and group called libvirt-remote if they not exist
-getent group libvirt-remote >/dev/null || groupadd libvirt-remote
-getent passwd libvirt-remote >/dev/null || \
-useradd -m -g libvirt-remote -s /bin/bash "libvirt-remote"
+if ! getent group libvirt-remote >/dev/null; then
+ groupadd -r libvirt-remote
+fi
+if ! getent passwd libvirt-remote >/dev/null; then
+ useradd -r -m -g libvirt-remote -s /bin/bash "libvirt-remote"
+fi
extract_files