c275c0a089
process to remove entries on the said file and maybe empty it
12 lines
223 B
Plaintext
12 lines
223 B
Plaintext
# $FreeBSD$
|
|
#
|
|
# 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
|