Date: Thu, 22 Oct 2020 12:46:48 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552967 - head/Keywords Message-ID: <202010221246.09MCkmr3062200@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Oct 22 12:46:48 2020 New Revision: 552967 URL: https://svnweb.freebsd.org/changeset/ports/552967 Log: 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 Modified: head/Keywords/rmempty.ucl Modified: head/Keywords/rmempty.ucl ============================================================================== --- head/Keywords/rmempty.ucl Thu Oct 22 12:41:58 2020 (r552966) +++ head/Keywords/rmempty.ucl Thu Oct 22 12:46:48 2020 (r552967) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010221246.09MCkmr3062200>