From d731b1222e17e0081e5e4e1fc9603b67ba0b72e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:36 +0200 Subject: Adding debian version 2.38.1-5. Signed-off-by: Daniel Baumann --- debian/uuid-runtime.postinst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/uuid-runtime.postinst (limited to 'debian/uuid-runtime.postinst') diff --git a/debian/uuid-runtime.postinst b/debian/uuid-runtime.postinst new file mode 100644 index 0000000..e5ad46d --- /dev/null +++ b/debian/uuid-runtime.postinst @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +# add uuidd user/group if needed. +if ! getent group uuidd >/dev/null; then + addgroup --system uuidd +fi +if ! getent passwd uuidd >/dev/null; then + adduser --system --quiet --ingroup uuidd \ + --home /run/uuidd --no-create-home \ + uuidd +fi + +chown uuidd:uuidd /var/lib/libuuid +chmod 2775 /var/lib/libuuid + +#DEBHELPER# -- cgit v1.2.3