updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mmm-mode / mmm-mode.install
blobfefaeb43e9b40aeb8184bf965819c0ac93cb160c
1 post_install() {
2 echo "Please put one of the following lines into your .emacs file"
3 echo "(require 'mmm-mode)"
4 echo "(require 'mmm-auto)"
5 echo "Refer to the info-manual for further advice."
6 echo "Please put the following line to your .emacs file"
7 echo "(setq load-path (cons \"/usr/share/emacs/site-lisp/mmm-mode\" load-path))"
8 echo "Adding Info-File"
9 install-info /usr/share/info/mmm.info.gz /usr/share/info/dir
12 pre_remove() {
13   echo "Removing entry in info-file (dir)"
14   install-info --delete /usr/share/info/mmm.info.gz /usr/share/info/dir
15   echo "Please remove the lines concerning mmm-mode from your .emacs"
16   /bin/true
19 post_upgrade() {
20   echo "Please put one of the following lines into your .emacs file"
21   echo "(require 'mmm-mode)"
22   echo "(require 'mmm-auto)"
23   echo "Refer to the info-manual for further advice."
24   echo "Please put the following line to your .emacs file"
25   echo "(setq load-path (cons \"/usr/share/emacs/site-lisp/mmm-mode\" load-path))"
26   echo "Adding Info-file"
27   install-info /usr/share/info/mmm.info.gz /usr/share/info/dir
28   /bin/true
31 op=$1
32 shift
33 $op $*