diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-10-04 02:33:32 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-10-04 02:33:32 +0800 |
commit | 47547bd68ba2c83a7f71bebe5e9865ed027d6631 (patch) | |
tree | 42a831516c9e7ffd8509c727e65b16a60c320814 /Keywords | |
parent | d812de820eb9a8723b177a3a61c5fa6708e1e058 (diff) | |
download | freebsd-ports-gnome-47547bd68ba2c83a7f71bebe5e9865ed027d6631.tar.gz freebsd-ports-gnome-47547bd68ba2c83a7f71bebe5e9865ed027d6631.tar.zst freebsd-ports-gnome-47547bd68ba2c83a7f71bebe5e9865ed027d6631.zip |
@sample: chmod u+w to ensure user may write to it.
PR: 193209
Submitted by: ohauer
With hat: portmgr
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/sample.ucl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl index bb622133461e..834788cbc418 100644 --- a/Keywords/sample.ucl +++ b/Keywords/sample.ucl @@ -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 |