1 ICON_PATH=/usr/share/icons/hicolor
2 INFO_DIR=/usr/share/info
4 INFO_FILES=(ada-mode auth autotype calc ccmode cl dbus dired-x ebrowse
5 ede ediff edt efaq eieio eintr elisp emacs emacs-mime epa erc ert eshell
6 eudc flymake forms gnus idlwave info mairix-el message mh-e newsticker
7 nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses
8 sieve smtpmail speedbar tramp url vip viper widget woman)
11 gtk-update-icon-cache -q -t -f ${ICON_PATH}
12 update-desktop-database -q
14 [[ -x usr/bin/install-info ]] || return 0
15 for f in ${INFO_FILES[@]}; do
16 install-info ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2> /dev/null
25 gtk-update-icon-cache -q -t -f ${ICON_PATH}
26 update-desktop-database -q
28 [[ -x usr/bin/install-info ]] || return 0
29 for f in ${INFO_FILES[@]}; do
30 install-info --delete ${INFO_DIR}/$f.gz ${INFO_DIR}/dir 2> /dev/null