svn commit: r369927 - head/Keywords

Bryan Drewery bdrewery at FreeBSD.org
Fri Oct 3 18:33:33 UTC 2014


Author: bdrewery
Date: Fri Oct  3 18:33:32 2014
New Revision: 369927
URL: https://svnweb.freebsd.org/changeset/ports/369927
QAT: https://qat.redports.org/buildarchive/r369927/

Log:
  @sample: chmod u+w to ensure user may write to it.
  
  PR:		193209
  Submitted by:	ohauer
  With hat:	portmgr

Modified:
  head/Keywords/sample.ucl

Modified: head/Keywords/sample.ucl
==============================================================================
--- head/Keywords/sample.ucl	Fri Oct  3 18:30:41 2014	(r369926)
+++ head/Keywords/sample.ucl	Fri Oct  3 18:33:32 2014	(r369927)
@@ -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


More information about the svn-ports-all mailing list