Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2016 21:45:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r417336 - branches/2016Q2/Keywords
Message-ID:  <201606222145.u5MLjmnf005087@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jun 22 21:45:48 2016
New Revision: 417336
URL: https://svnweb.freebsd.org/changeset/ports/417336

Log:
  MFH: r417335
  
  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:
  branches/2016Q2/Keywords/sample.ucl
Directory Properties:
  branches/2016Q2/   (props changed)

Modified: branches/2016Q2/Keywords/sample.ucl
==============================================================================
--- branches/2016Q2/Keywords/sample.ucl	Wed Jun 22 21:44:25 2016	(r417335)
+++ branches/2016Q2/Keywords/sample.ucl	Wed Jun 22 21:45:48 2016	(r417336)
@@ -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?201606222145.u5MLjmnf005087>