svn commit: r417335 - head/Keywords

Baptiste Daroussin bapt at FreeBSD.org
Wed Jun 22 21:44:26 UTC 2016


Author: bapt
Date: Wed Jun 22 21:44:25 2016
New Revision: 417335
URL: https://svnweb.freebsd.org/changeset/ports/417335

Log:
  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:
  head/Keywords/sample.ucl

Modified: head/Keywords/sample.ucl
==============================================================================
--- head/Keywords/sample.ucl	Wed Jun 22 21:22:06 2016	(r417334)
+++ head/Keywords/sample.ucl	Wed Jun 22 21:44:25 2016	(r417335)
@@ -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-head mailing list