forked from Lainports/freebsd-ports
@sample: chmod u+w to ensure user may write to it.
PR: 193209 Submitted by: ohauer With hat: portmgr
This commit is contained in:
parent
2bfc27cd35
commit
581b88c885
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue