#!/bin/sh # Update the database of 'texinfo' for the program 'info'. if [ -d /usr/info -a -r /usr/info/dir ]; then ( cd /usr/info for i in $(find . -maxdepth 1 -type f -newer dir); do found=1 break; done if [ "$found" = "1" ]; then find . -maxdepth 1 -type f -name '*.gz' \ -exec install-info --quiet '{}' dir + fi ) fi