SPECS: pam.spec - post script with tallylog creation (if not exists)

baggins baggins at pld-linux.org
Mon Feb 5 01:07:00 CET 2007


Author: baggins                      Date: Mon Feb  5 00:07:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- post script with tallylog creation (if not exists)

---- Files affected:
SPECS:
   pam.spec (1.248 -> 1.249) 

---- Diffs:

================================================================
Index: SPECS/pam.spec
diff -u SPECS/pam.spec:1.248 SPECS/pam.spec:1.249
--- SPECS/pam.spec:1.248	Mon Feb  5 01:02:50 2007
+++ SPECS/pam.spec	Mon Feb  5 01:06:54 2007
@@ -327,6 +327,14 @@
 #	s/pam_homedir\.so/pam_mkhomedir.so/g
 #	/var/lock/console -> /var/run/console
 
+%post
+#if [ ! -a /var/log/faillog ] ; then
+#	install -m 600 /dev/null /var/log/faillog
+#fi
+if [ ! -a /var/log/tallylog ] ; then
+	install -m 600 /dev/null /var/log/tallylog
+fi
+
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
@@ -454,6 +462,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.249  2007/02/05 00:06:54  baggins
+- post script with tallylog creation (if not exists)
+
 Revision 1.248  2007/02/05 00:02:50  baggins
 - skeleton for the trigger
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pam.spec?r1=1.248&r2=1.249&f=u



More information about the pld-cvs-commit mailing list