Page MenuHomeFreeBSD

D25751.1783899533.diff
No OneTemporary

Size
477 B
Referenced Files
None
Subscribers
None

D25751.1783899533.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
-EOD
+post-deinstall-lua: <<EOS
+ for file in string.gmatch("%@", "%S+") do
+ os.remove(pkg.prefixed_path(file))
+ end
+EOS

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 12, 11:38 PM (3 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29101894
Default Alt Text
D25751.1783899533.diff (477 B)

Event Timeline