svn commit: r417336 - branches/2016Q2/Keywords
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jun 22 21:45:49 UTC 2016
Author: bapt
Date: Wed Jun 22 21:45:48 2016
New Revision: 417336
URL: https://svnweb.freebsd.org/changeset/ports/417336
Log:
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
Modified:
branches/2016Q2/Keywords/sample.ucl
Directory Properties:
branches/2016Q2/ (props changed)
Modified: branches/2016Q2/Keywords/sample.ucl
==============================================================================
--- branches/2016Q2/Keywords/sample.ucl Wed Jun 22 21:44:25 2016 (r417335)
+++ branches/2016Q2/Keywords/sample.ucl Wed Jun 22 21:45:48 2016 (r417336)
@@ -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
More information about the svn-ports-all
mailing list