From 63c1e58910cbc3c5cc4b4bdf966f68dd292980a1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:10:50 +0200 Subject: Adding debian version 2.39.3-6. 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