blob: 399ff764d163282d6f8b80caa6d76c8653b8fa58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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
|