svn commit: r533583 - head/Keywords
Antoine Brodin
antoine at FreeBSD.org
Fri May 1 19:39:26 UTC 2020
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 at 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
More information about the svn-ports-head
mailing list