From: thib Date: Tue, 30 Jan 2001 15:50:55 +0000 (+0000) Subject: do not change the mod of root.orig to 640 X-Git-Tag: ver1564~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=420b3a28673837cbad1b9d1fba49c7183b30c53d;p=fcron do not change the mod of root.orig to 640 --- diff --git a/Makefile.in b/Makefile.in index 3b904c4..58aa997 100644 --- a/Makefile.in +++ b/Makefile.in @@ -4,7 +4,7 @@ # @configure_input@ -# $Id: Makefile.in,v 1.54 2001-01-12 21:42:57 thib Exp $ +# $Id: Makefile.in,v 1.55 2001-01-30 15:50:55 thib Exp $ # The following should not be edited manually (use configure options) # If you must do it, BEWARE : some of the following is also defined @@ -112,7 +112,7 @@ install: all $(DESTDOC)/fcron-$(VERSION)/ # in order to get correct rights when upgrading : - find $(FCRONTABS) -type f -name "*.orig" -exec chown $(USERNAME):$(GROUPNAME) {} \; -exec chmod 640 {} \; + find $(FCRONTABS) -type f \( -name "*.orig" -a ! -name "root.orig" \) -exec chown $(USERNAME):$(GROUPNAME) {} \; -exec chmod 640 {} \; if test -f $(ETC)/fcron.deny; then chown $(ROOTNAME):$(GROUPNAME) $(ETC)/fcron.deny ; fi if test -f $(ETC)/fcron.allow; then chown $(ROOTNAME):$(GROUPNAME) $(ETC)/fcron.allow ; fi