home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 December (Special) / PCWorld_2005-12_Special_cd.bin / Bezpecnost / lsti / lsti.exe / framework-2.5.exe / update-info-dir.sh.done < prev    next >
Text File  |  2003-09-03  |  345b  |  19 lines

  1. #!/bin/sh
  2. rm -f /usr/info/dir
  3. for d in /usr/info /usr/share/info; do
  4.     for f in $d/*; do
  5.     case "$f" in
  6.         *\**)
  7.         ;;
  8.         dir|dir.info*)
  9.         ;;
  10.         *-[0123456789]*)
  11.         ;;
  12.         *)
  13.         install-info --quiet $f /usr/share/info/dir ||
  14.         install-info  --quiet --entry="* $$f ($f): $$f" $$f /usr/share/info/dir
  15.         ;;
  16.     esac
  17.     done
  18. done >/dev/null 2>&1
  19.