1 infodir=/usr/share/info
2 filelist=(pcb.info pcb.info-1 pcb.info-2)
5 if [ -x /usr/bin/update-mime-database ]; then
6 echo Updating mime database...
7 /usr/bin/update-mime-database /usr/share/mime
9 if [ -x /usr/bin/update-desktop-database ]; then
10 echo Updating desktop database..
11 /usr/bin/update-desktop-database /usr/share/applications
13 if [ -x /usr/bin/install-info ]; then
14 echo Updating info directory...
15 for file in ${filelist[@]}; do
16 install-info $infodir/$file $infodir/dir 2> /dev/null
19 /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
27 if [ -x /usr/bin/install-info ]; then
28 echo Updating info directory...
29 for file in ${filelist[@]}; do
30 install-info --delete $infodir/$file $infodir/dir 2> /dev/null
36 /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor