aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-06-22 21:44:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-06-22 21:44:25 +0000
commite682d8cb62a2b2560e013eca06efb101481343a1 (patch)
treea135a206dfb2b1a1cee4f5c2d2bd72c535651c4c /Keywords
parent4702f4204a93a38f3500f39132accc8c460dc9e7 (diff)
downloadports-e682d8cb62a2b2560e013eca06efb101481343a1.tar.gz
ports-e682d8cb62a2b2560e013eca06efb101481343a1.zip
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
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/sample.ucl3
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