From 668f05d989d214c0a5201bc51982e932ff15f6a3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:49:26 +0200 Subject: Adding debian version 1.47.0-2. Signed-off-by: Daniel Baumann --- debian/uuid-runtime.postinst | 15 +++++++++++++++ 1 file changed, 15 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..3c1adb6 --- /dev/null +++ b/debian/uuid-runtime.postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +if ! getent group | grep -q libuuid; then +groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid +fi +if ! getent passwd | grep -q libuuid; then + useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid +fi +chown libuuid:libuuid /usr/sbin/uuidd +chmod 6755 /usr/sbin/uuidd + +#DEBHELPER# + +exit 0 -- cgit v1.2.3