svn commit: r367994 - head/Keywords

Bryan Drewery bdrewery at FreeBSD.org
Thu Sep 11 23:11:48 UTC 2014


Author: bdrewery
Date: Thu Sep 11 23:11:48 2014
New Revision: 367994
URL: http://svnweb.freebsd.org/changeset/ports/367994
QAT: https://qat.redports.org/buildarchive/r367994/

Log:
  @sample: Alert user that there is a stale file to be removed.
  
  Submitted by:	amdmi3
  With hat:	portmgr

Modified:
  head/Keywords/sample.ucl
  head/Keywords/sample.yaml

Modified: head/Keywords/sample.ucl
==============================================================================
--- head/Keywords/sample.ucl	Thu Sep 11 22:30:43 2014	(r367993)
+++ head/Keywords/sample.ucl	Thu Sep 11 23:11:48 2014	(r367994)
@@ -33,5 +33,7 @@ pre-deinstall: <<EOD
   target_file="${sample_file%.sample}"
   if cmp -s "${target_file}" "${sample_file}"; then
     rm -f "${target_file}"
+  else
+    echo "You may need to manually remove ${target_file} if it's no longer needed."
   fi
 EOD

Modified: head/Keywords/sample.yaml
==============================================================================
--- head/Keywords/sample.yaml	Thu Sep 11 22:30:43 2014	(r367993)
+++ head/Keywords/sample.yaml	Thu Sep 11 23:11:48 2014	(r367994)
@@ -32,4 +32,6 @@ pre-deinstall: |
   target_file="${sample_file%.sample}"
   if cmp -s "${target_file}" "${sample_file}"; then
     rm -f "${target_file}"
+  else
+    echo "You may need to manually remove ${target_file} if it's no longer needed."
   fi


More information about the svn-ports-head mailing list