[Freeipa-devel] [PATCH] Prevent gzip from requesting confirmation

Karl MacMillan kmacmillan at redhat.com
Mon Nov 5 15:40:03 UTC 2007


# HG changeset patch
# User "Karl MacMillan <kmacmillan at redhat.com>"
# Date 1194280799 18000
# Node ID 5a4b477d68ff5f26ea2d445b83e5bf67f329df35
# Parent  48b7a619dec60bf2b72a34d7fdc2ab7adad7c01d
Prevent gzip from requesting confirmation.

The current manpage installation gzips the files in
place and requests confirmation before overwriting
existing files. Add -f to prevent prompting. We
should consider not gzipping the files in place.

diff -r 48b7a619dec6 -r 5a4b477d68ff ipa-admintools/man/Makefile
--- a/ipa-admintools/man/Makefile	Mon Nov 05 11:27:48 2007 -0500
+++ b/ipa-admintools/man/Makefile	Mon Nov 05 11:39:59 2007 -0500
@@ -10,12 +10,12 @@ MANFILES=\
 	ipa-groupmod.1 \
 	ipa-passwd.1 \
 	ipa-usermod.1
-	
+
 all: ;
 
 install:
 	mkdir -p $(MANDIR)/man1
-	@for i in $(MANFILES) ; do install -m 644 $$i $(MANDIR)/man1 ; gzip $(MANDIR)/man1/$$i ; done
+	@for i in $(MANFILES) ; do install -m 644 $$i $(MANDIR)/man1 ; gzip -f $(MANDIR)/man1/$$i ; done
 
 clean:
 




More information about the Freeipa-devel mailing list