bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] install: add -C option to install file only when necessary


From: Kamil Dudka
Subject: [PATCH] install: add -C option to install file only when necessary
Date: Fri, 16 Jan 2009 13:50:59 +0100
User-agent: KMail/1.9.6 (enterprise 0.20071012.724442)

Hello,

it was discussed here 5 years ago (and considered good idea) to add -C option 
to install:
http://lists.gnu.org/archive/html/bug-coreutils/2003-11/msg00017.html

With this option install checks an existing destination file and if it is not 
different (by content, owner, group and mode) from source, the file is not 
installed. Preserving destination's original mtime can significantly decrease 
time of building when a system library is reinstalled but the header files 
are not changed at all.

This option was already introduced in RHEL-4, but it was never accepted by 
upstream. There were some issues which should be solved by this patch.


Kamil

Attachment: 0001-install-add-C-option-to-install-file-only-when-nec.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]