Page MenuHomeFreeBSD

D23618.id68941.diff
No OneTemporary

D23618.id68941.diff

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

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 14, 1:04 PM (8 h, 36 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36663594
Default Alt Text
D23618.id68941.diff (485 B)

Event Timeline