updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / malaga / malaga.install
blob4a829c68067ff32446eddf52c57b6e46711008d0
1 infodir=/usr/share/info
2 filelist=(malaga.info)
4 post_install() {
5   [ -x usr/bin/install-info ] || return 0
6   for file in ${filelist[@]}; do
7     install-info $infodir/$file $infodir/dir 2> /dev/null
8   done
9   echo ">>> If you are using Emacs, add the line"
10         echo ">>>   (require 'malaga \".../malaga-7.12/malaga.el\")"
11         echo ">>> to the file \".emacs\" in your home directory, "
12         echo ">>> so the Malaga extensions will be loaded automatically "
13         echo ">>> if you are starting Emacs."
14         echo ">>>   (Use the absolute path for \".../malaga-7.12\".)"
15         echo ">>> "
16         echo ">>> Make sure that you are using UTF-8 character set"
17         echo
20 post_upgrade() {
21   post_install $1
24 pre_remove() {
25   [ -x usr/bin/install-info ] || return 0
26   for file in ${filelist[@]}; do
27     install-info --delete $infodir/$file $infodir/dir 2> /dev/null
28   done
31 # vim:set ts=2 sw=2 et: