Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 19:39:26 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533583 - head/Keywords
Message-ID:  <202005011939.041JdQVZ028388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri May  1 19:39:26 2020
New Revision: 533583
URL: https://svnweb.freebsd.org/changeset/ports/533583

Log:
  Revert r533339,  there is a regression in ordering
  
  With hat:	portmgr
  PR:		246102

Modified:
  head/Keywords/rmtry.ucl

Modified: head/Keywords/rmtry.ucl
==============================================================================
--- head/Keywords/rmtry.ucl	Fri May  1 19:17:27 2020	(r533582)
+++ head/Keywords/rmtry.ucl	Fri May  1 19:39:26 2020	(r533583)
@@ -2,8 +2,10 @@
 #
 # MAINTAINER:	portmgr@FreeBSD.org
 actions: []
-post-deinstall-lua: <<EOD
-	file = pkg.prefixed_path("%@")
-	-- ignore the return value and the error
-	ret, err = os.remove(file)
+post-deinstall: <<EOD
+	case "%@" in
+	/*) f="%@" ;;
+	 *) f="%D/%@" ;;
+	esac
+	/bin/rm -f ${PKG_ROOTDIR}/$f 2>/dev/null || /usr/bin/true
 EOD



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