freebsd-nq/usr.sbin/etcupdate
Eric van Gyzen 1a04446f08 etcupdate: preserve the metadata of the destination file
When using diff3 to perform a three-way merge, etcupdate lost the destination
file's metadata. The metadata from the temporary file were used instead.
This was unpleasant for rc.d scripts, which require execute permission.
Use "cat >" to overwrite the destination file's contents while preserving its
metadata.

Reviewed by:	bapt
Sponsored by:	Dell Technologies
Differential Revision:	https://reviews.freebsd.org/D7817
2016-09-08 15:53:49 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
etcupdate.8 Remove redundant word. 2016-04-26 18:54:44 +00:00
etcupdate.sh etcupdate: preserve the metadata of the destination file 2016-09-08 15:53:49 +00:00
Makefile
Makefile.depend