1 _infodir=/usr/share/info
2 _infofiles=( recutils.info.gz )
4 _mandir=/usr/share/man/man1
5 _manfiles=( csv2rec.1.gz rec2csv.1.gz recdel.1.gz recfix.1.gz recfmt.1.gz recinf.1.gz recins.1.gz recsel.1.gz recset.1.gz)
7 ## arg 1: the new package version
9 [ -x /usr/bin/mandb ] || return 0
10 for _file in ${_manfiles[@]}; do
11 mandb -f $_mandir/$_file
14 [ -x /usr/bin/install-info ] || return 0
15 for _file in ${_infofiles[@]}; do
16 install-info $_infodir/$_file $_infodir/dir #2> /dev/null
20 # arg 1: the new package version
21 # arg 2: the old package version
27 [ -x /usr/bin/mandb ] || return 0
30 [ -x /usr/bin/install-info ] || return 0
31 for _file in ${_infofiles[@]}; do
32 install-info --delete $_infodir/$_file $_infodir/dir #2> /dev/null
36 # vim:set ts=2 sw=2 et: