diff options
author | bapt <bapt@FreeBSD.org> | 2014-07-25 21:44:17 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-07-25 21:44:17 +0800 |
commit | eff31ffeb83eebd40ab346b2dc5ee2495e1d1b49 (patch) | |
tree | 9e87f60df3c39bd6eff7f71ec5a73a55553c2272 /Keywords | |
parent | 62f5e9d8af415fb24ff5a78c5f5cb27aecdcfa50 (diff) | |
download | freebsd-ports-gnome-eff31ffeb83eebd40ab346b2dc5ee2495e1d1b49.tar.gz freebsd-ports-gnome-eff31ffeb83eebd40ab346b2dc5ee2495e1d1b49.tar.zst freebsd-ports-gnome-eff31ffeb83eebd40ab346b2dc5ee2495e1d1b49.zip |
Add support for @fmtutil for pkg_install
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 |