SPECS: amanda.spec - more trigger fun

baggins baggins at pld-linux.org
Mon Dec 11 12:45:59 CET 2006


Author: baggins                      Date: Mon Dec 11 11:45:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more trigger fun

---- Files affected:
SPECS:
   amanda.spec (1.146 -> 1.147) 

---- Diffs:

================================================================
Index: SPECS/amanda.spec
diff -u SPECS/amanda.spec:1.146 SPECS/amanda.spec:1.147
--- SPECS/amanda.spec:1.146	Fri Dec  8 17:15:45 2006
+++ SPECS/amanda.spec	Mon Dec 11 12:45:54 2006
@@ -205,6 +205,11 @@
 /usr/sbin/usermod -G disk,backup amanda
 echo "Setting amanda shell to /bin/sh"
 /usr/bin/chsh -s /bin/sh amanda
+if [ -f %{_localstatedir}/amanda/.amandahosts ]; then
+	echo "Fixing permissions of %{_localstatedir}/amanda/.amandahosts file"
+	chown amanda.amanda %{_localstatedir}/amanda/.amandahosts
+	chmod 600 %{_localstatedir}/amanda/.amandahosts
+fi
 
 %pre libs
 %groupadd -P %{name}-libs -g 80 amanda
@@ -379,6 +384,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.147  2006/12/11 11:45:54  baggins
+- more trigger fun
+
 Revision 1.146  2006/12/08 16:15:45  baggins
 - R: chsh for the trigger to work
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/amanda.spec?r1=1.146&r2=1.147&f=u



More information about the pld-cvs-commit mailing list