1 info_dir=/usr/share/info
2 info_files=(ada-mode autotype calc ccmode cl dbus epa dired-x ebrowse
3 ediff efaq eintr elisp emacs emacs-mime erc eshell eudc flymake forms
4 gnus idlwave info mairix-el message mh-e newsticker org pcl-cvs pgg
5 rcirc reftex remember sasl sc ses sieve smtpmail speedbar tramp url
6 vip viper widget woman)
9 for f in ${info_files[@]}; do
10 install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
12 [ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-desktop-database -q 2> /dev/null
13 echo "to enable xwidgets, add \"(require 'xwidget)\" to your .emacs file"
21 for f in ${info_files[@]}; do
22 install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
27 [ -e /usr/bin/gtk-update-icon-cache ] && gtk-update
28 -icon-cache -q -t -f usr/share/icons/hicolor update-desktop-database -q 2> /dev/null