Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rmempty.ucl « Keywords - github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f604938cfeb64fa3376aee17c8c9d66d8292bea1 (plain)
1
2
3
4
5
6
7
8
9
10
# 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