diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:14:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:14:41 +0000 |
commit | e0c5d5bce70177b20afa2deee4c62e368a8b9c43 (patch) | |
tree | de36eff10a26ee736e19b557f531d03847487856 /debian/apt.postinst | |
parent | Adding upstream version 2.2.4. (diff) | |
download | apt-debian.tar.xz apt-debian.zip |
Adding debian version 2.2.4.debian/2.2.4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/apt.postinst')
-rwxr-xr-x | debian/apt.postinst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst new file mode 100755 index 0000000..837b46b --- /dev/null +++ b/debian/apt.postinst @@ -0,0 +1,10 @@ +#! /bin/sh +set -e + +if [ "$1" = 'configure' ]; then + # add unprivileged user for the apt methods + adduser --force-badname --system --home /nonexistent \ + --no-create-home --quiet _apt || true +fi + +#DEBHELPER# |