summaryrefslogtreecommitdiff
path: root/debian/login.postinst
blob: b3b5be1b95a13630bed74598c0e6e4b712a07b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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