diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2020-05-01 19:39:26 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2020-05-01 19:39:26 +0000 |
commit | 26db5bddb5b8248f40279747e3a69177813d8967 (patch) | |
tree | 49e73c685dc349600c9920a50cd5911def19e563 /Keywords | |
parent | Added missing dependency to cached-property which is required since 1.1.0: (diff) |
Revert r533339, there is a regression in ordering
With hat: portmgr
PR: 246102
Notes
Notes:
svn path=/head/; revision=533583
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/rmtry.ucl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Keywords/rmtry.ucl b/Keywords/rmtry.ucl index 9785ffd697eb..93b27db4449c 100644 --- a/Keywords/rmtry.ucl +++ b/Keywords/rmtry.ucl @@ -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 |