freebsd-ports/Keywords/rmempty.ucl
Mathieu Arnold 5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00

11 lines
210 B
Plaintext

# MAINTAINER: portmgr@FreeBSD.org
actions: []
post-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