diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:20:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:20:26 +0000 |
commit | 06cf122aaf0b00d5e4bdd9f88550bb355735fb5d (patch) | |
tree | 7aa2d5b4df2ca9de14ba4e46f153dba4b8911f37 /debian/login.postinst | |
parent | Adding debian version 1:4.15.2-1. (diff) | |
download | shadow-06cf122aaf0b00d5e4bdd9f88550bb355735fb5d.tar.xz shadow-06cf122aaf0b00d5e4bdd9f88550bb355735fb5d.zip |
Adding debian version 1:4.15.2-2.debian/1%4.15.2-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/login.postinst')
-rw-r--r-- | debian/login.postinst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/debian/login.postinst b/debian/login.postinst index 2261e1b..e91a2d5 100644 --- a/debian/login.postinst +++ b/debian/login.postinst @@ -1,16 +1,7 @@ #!/bin/sh - set -e - if [ "$1" = "configure" ]; then - # Install faillog during initial installs only - if [ "$2" = "" ] && [ ! -f "$DPKG_ROOT/var/log/faillog" ] ; then - touch "$DPKG_ROOT/var/log/faillog" - chown 0:0 "$DPKG_ROOT/var/log/faillog" - chmod 644 "$DPKG_ROOT/var/log/faillog" - fi - # Create subuid/subgid if missing if [ ! -e "$DPKG_ROOT/etc/subuid" ]; then touch "$DPKG_ROOT/etc/subuid" |