packages: bacula/bacula.spec - fix bat trigger errors when bat itself not p...

glen glen at pld-linux.org
Wed Dec 8 19:07:46 CET 2010


Author: glen                         Date: Wed Dec  8 18:07:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix bat trigger errors when bat itself not present

---- Files affected:
packages/bacula:
   bacula.spec (1.174 -> 1.175) 

---- Diffs:

================================================================
Index: packages/bacula/bacula.spec
diff -u packages/bacula/bacula.spec:1.174 packages/bacula/bacula.spec:1.175
--- packages/bacula/bacula.spec:1.174	Thu Nov 25 12:34:15 2010
+++ packages/bacula/bacula.spec	Wed Dec  8 19:07:40 2010
@@ -773,7 +773,7 @@
 %update_configs
 
 %triggerpostun common -- %{name}-common < 5.0.1-2
-find %{_sysconfdir}/bat.conf* -perm /007 -print0 | xargs -0 -r chmod 600 || :
+find %{_sysconfdir}/bat.conf* -perm /007 -print0 2>/dev/null | xargs -0 -r chmod 600 || :
 
 %post console-qt4
 %update_configs
@@ -1071,6 +1071,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.175  2010/12/08 18:07:40  glen
+- fix bat trigger errors when bat itself not present
+
 Revision 1.174  2010/11/25 11:34:15  arekm
 - release 11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bacula/bacula.spec?r1=1.174&r2=1.175&f=u



More information about the pld-cvs-commit mailing list