diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-22 21:44:25 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-22 21:44:25 +0000 |
commit | e682d8cb62a2b2560e013eca06efb101481343a1 (patch) | |
tree | a135a206dfb2b1a1cee4f5c2d2bd72c535651c4c | |
parent | Update to 1.8.99.7 (diff) |
do not chmod u+w sample files when copying it
It is up to the package to decide the mode of the config files
Reported by: garga
Notes
Notes:
svn path=/head/; revision=417335
-rw-r--r-- | Keywords/sample.ucl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl index 548cc20018e1..9d3fc498f0d4 100644 --- a/Keywords/sample.ucl +++ b/Keywords/sample.ucl @@ -35,8 +35,7 @@ post-install: <<EOD *) target_file="%D/${target_file}" ;; esac if ! [ -f "${target_file}" ]; then - /bin/cp -p "${sample_file}" "${target_file}" && \ - /bin/chmod u+w "${target_file}" + /bin/cp -p "${sample_file}" "${target_file}" fi EOD pre-deinstall: <<EOD |