diff options
Diffstat (limited to 'community/emacs-nox/emacs-nox.install')
-rw-r--r-- | community/emacs-nox/emacs-nox.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/emacs-nox/emacs-nox.install b/community/emacs-nox/emacs-nox.install new file mode 100644 index 000000000..ea8630090 --- /dev/null +++ b/community/emacs-nox/emacs-nox.install @@ -0,0 +1,21 @@ +info_dir=/usr/share/info +info_files=(ada-mode autotype calc ccmode cl dired-x ebrowse +ediff efaq eintr elisp emacs emacs-mime erc eshell eudc flymake forms +gnus idlwave info message mh-e newsticker org pcl-cvs pgg rcirc reftex +sc ses sieve smtpmail speedbar tramp url vip viper widget woman) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} |