svn commit: r334169 - head/Keywords

Baptiste Daroussin bapt at FreeBSD.org
Mon Nov 18 10:16:27 UTC 2013


Author: bapt
Date: Mon Nov 18 10:16:27 2013
New Revision: 334169
URL: http://svnweb.freebsd.org/changeset/ports/334169

Log:
  Fix leftovers with INFO_SUBDIR

Modified:
  head/Keywords/info.yaml

Modified: head/Keywords/info.yaml
==============================================================================
--- head/Keywords/info.yaml	Mon Nov 18 10:06:13 2013	(r334168)
+++ head/Keywords/info.yaml	Mon Nov 18 10:16:27 2013	(r334169)
@@ -12,3 +12,6 @@ post-deinstall: |
   if [ $(info -d ${file%/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
     rm -f ${file%/*}/dir
   fi
+  if [ ${file%/*} != "%D/info" ]; then
+     rmdir ${file%/*} 2> /dev/null || true
+  fi


More information about the svn-ports-head mailing list