diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-25 13:44:17 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-25 13:44:17 +0000 |
commit | 660a8e293b4cdd591e34b275e399647aa16b70d5 (patch) | |
tree | 9e87f60df3c39bd6eff7f71ec5a73a55553c2272 /Keywords | |
parent | 53ab95c70bd345a9d5b1201f37cc07e8b310b79c (diff) |
Notes
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/pkg_install.awk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Keywords/pkg_install.awk b/Keywords/pkg_install.awk index 7128dfb06f46..4a949e725ddd 100644 --- a/Keywords/pkg_install.awk +++ b/Keywords/pkg_install.awk @@ -96,6 +96,14 @@ $1 == "@dirrmtry" { next } +$1 == "@fmtutil" { + print "@comment begin " $0 + print "@exec fmtutil-sys --missing >/dev/null" + for (i = 2; i <= NF; i++) + print "@unexec rm -f "$i"; rmdir -p `dirname "$1"` 2>/dev/null" + print "@comment end " $0 +} + # Print everything else as-is { print $0 |