Fixed ${LIBVIRT_GROUP} instead of just libvirt in postinst to have it work as well...
[openstack-build/ceilometer-build.git] / xenial / debian / ceilometer-common.postinst.in
index 8b26aa0aea6157c10a6fd2c3b6772703d9ea6990..5a8ecfde8d0d7d776434a3d30d0dc9548f7c5b6f 100644 (file)
@@ -12,7 +12,7 @@ libvirt_user_group () {
                LIBVIRT_GROUP=libvirt
        fi
 
-       if ! getent group libvirt >/dev/null; then
+       if ! getent group ${LIBVIRT_GROUP} >/dev/null; then
                addgroup --system ${LIBVIRT_GROUP}
        fi