diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-08 14:12:53 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-08 14:12:53 +0000 |
commit | 0521b2fe8e60d2415a9f1cca7ce57d786bba9e28 (patch) | |
tree | 66218542f316f42721fe6db22016d2f70b18dc81 /Keywords | |
parent | e12f77294208b750e016fc951df2f514cdbbabc2 (diff) |
Notes
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/terminfo.ucl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Keywords/terminfo.ucl b/Keywords/terminfo.ucl new file mode 100644 index 000000000000..870a03296268 --- /dev/null +++ b/Keywords/terminfo.ucl @@ -0,0 +1,22 @@ +# $FreeBSD$ +# + +actions: [] +post-install: <<EOD + terminfodir=%D/share/misc + terminfodb=${terminfodir}/terminfo.db + if [ -e ${terminfodb}.default ] && which -s tic; then + cp ${terminfodb}.default ${terminfodb} + find -s ${terminfodir} -name "*.terminfo" -exec tic {} \; + fi +EOD +post-deinstall: <<EOD + terminfodir=%D/share/misc + terminfodb=${terminfodir}/terminfo.db + if [ -e ${terminfodb}.default ] && which -s tic; then + cp ${terminfodb}.default ${terminfodb} + find -s ${terminfodir} -name "*.terminfo" -exec tic {} \; + else + rm -f ${terminfodb} + fi +EOD |