summaryrefslogtreecommitdiff
path: root/debian/login.postinst
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-06-04 01:37:33 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-06-04 01:37:33 +0000
commita6df447f1445c1218a1dc0db7a3c3d50c2186e86 (patch)
tree93b145b2db5a36a5a60f548bedcbacec2d9c2276 /debian/login.postinst
parent6c1662a897fd34b5b0b0174ab83552b016d05e8d (diff)
downloadshadow-a6df447f1445c1218a1dc0db7a3c3d50c2186e86.tar.gz
Added debian dir
Diffstat (limited to 'debian/login.postinst')
-rw-r--r--debian/login.postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/login.postinst b/debian/login.postinst
new file mode 100644
index 0000000..b3b5be1
--- /dev/null
+++ b/debian/login.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ] && [ "$2" = "" ]
+then
+ # Install faillog during initial installs only
+ if [ ! -f /var/log/faillog ] ; then
+ touch /var/log/faillog
+ chown root:root /var/log/faillog
+ chmod 644 /var/log/faillog
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0