Page MenuHomeFreeBSD

D26633.diff
No OneTemporary

D26633.diff

Index: head/Keywords/rmempty.ucl
===================================================================
--- head/Keywords/rmempty.ucl
+++ head/Keywords/rmempty.ucl
@@ -0,0 +1,11 @@
+# $FreeBSD$
+#
+# MAINTAINER: portmgr@FreeBSD.org
+actions: []
+pre-deinstall-lua: <<EOD
+ file = pkg.prefixed_path("%@")
+ local st = pkg.stat(file)
+ if st and st.type == "reg" and st.size == 0 then
+ os.remove(file)
+ end
+EOD

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 6:59 AM (13 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15807264
Default Alt Text
D26633.diff (411 B)

Event Timeline