Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2016 21:44:25 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417335 - head/Keywords
Message-ID:  <201606222144.u5MLiPjo004893@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606222144.u5MLiPjo004893>