Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107446656
D26633.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D26633.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D26633: Add @rmempty keyword
Attached
Detach File
Event Timeline
Log In to Comment