diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:11 +0000 |
commit | c5d17ee44a0ab63a4fd28fb74908ced67052cae4 (patch) | |
tree | 31067fca0cd63c2a0fb2bd85798e5cb2ef0dec49 /debian/uuid-runtime.postinst | |
parent | Adding upstream version 1.47.0. (diff) | |
download | e2fsprogs-c5d17ee44a0ab63a4fd28fb74908ced67052cae4.tar.xz e2fsprogs-c5d17ee44a0ab63a4fd28fb74908ced67052cae4.zip |
Adding debian version 1.47.0-2.debian/1.47.0-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/uuid-runtime.postinst')
-rw-r--r-- | debian/uuid-runtime.postinst | 15 |
1 files changed, 15 insertions, 0 deletions
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 |