@sample: chmod u+w to ensure user may write to it.

PR:		193209
Submitted by:	ohauer
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2014-10-03 18:33:32 +00:00
parent 2bfc27cd35
commit 581b88c885

View file

@ -22,7 +22,8 @@ post-install: <<EOD
esac
target_file="${sample_file%.sample}"
if ! [ -f "${target_file}" ]; then
/bin/cp -p "${sample_file}" "${target_file}"
/bin/cp -p "${sample_file}" "${target_file}" && \
/bin/chmod u+w "${target_file}"
fi
EOD
pre-deinstall: <<EOD