aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-10-22 12:46:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-10-22 12:46:48 +0000
commitc275c0a089361ae548c672c0c5760f324c438eb7 (patch)
tree64eaeaeb8808f518e9c1bb47994e156895429f48 /Keywords
parent3d3f13729b241a72ad5b6744e361812f7f2f6ff7 (diff)
downloadports-c275c0a089361ae548c672c0c5760f324c438eb7.tar.gz
ports-c275c0a089361ae548c672c0c5760f324c438eb7.zip
Remove the empty files during the post-deinstall procedure, to give a chance a deinstall
process to remove entries on the said file and maybe empty it
Notes
Notes: svn path=/head/; revision=552967
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/rmempty.ucl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Keywords/rmempty.ucl b/Keywords/rmempty.ucl
index 399ff764d163..1aa77df37f3f 100644
--- a/Keywords/rmempty.ucl
+++ b/Keywords/rmempty.ucl
@@ -2,7 +2,7 @@
#
# MAINTAINER: portmgr@FreeBSD.org
actions: []
-pre-deinstall-lua: <<EOD
+post-deinstall-lua: <<EOD
file = pkg.prefixed_path("%@")
local st = pkg.stat(file)
if st and st.type == "reg" and st.size == 0 then