diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-22 21:45:48 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-22 21:45:48 +0000 |
commit | 1aac31f80cb0272e6c9eff94db71e3b0b07d6573 (patch) | |
tree | 0076d7200842458da7dce54c7a14ec3c12c73eb1 | |
parent | 1388d68b333514ff0e87308dd46abd56b1e955b5 (diff) | |
download | ports-1aac31f80cb0272e6c9eff94db71e3b0b07d6573.tar.gz ports-1aac31f80cb0272e6c9eff94db71e3b0b07d6573.zip |
MFH: r417335
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=/branches/2016Q2/; revision=417336
-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 |