summaryrefslogtreecommitdiffstats
path: root/debian/login.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 16:20:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 16:20:57 +0000
commit3c54bed157575c882be8b65554db55c4caafb6ae (patch)
tree05fb3e8e897f861b08a0ec95eff38eee8710c473 /debian/login.postinst
parentReleasing progress-linux version 1:4.15.2-1~progress7.99u1. (diff)
downloadshadow-3c54bed157575c882be8b65554db55c4caafb6ae.tar.xz
shadow-3c54bed157575c882be8b65554db55c4caafb6ae.zip
Merging debian version 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.postinst9
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"