summarylogtreecommitdiffstats
path: root/install.sh
blob: 7683af0bd46a6325f0d662a3abff63dce813cef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
   echo
   echo "   Databases, docs, tests and examples are installed in /usr/share/phreeqc;"
   echo "   Do not forget to have a copy of the intended db in your working directory."
   echo "   Enjoy."
   echo
   echo "   For Emacs-users a phreeqc-mode is provided "
   echo "   Please put the lines"
   echo "   (setq load-path (cons \"/usr/share/emacs/site-lisp/phreeqc\" load-path))"
   echo "   (autoload 'phreeqc-mode "phreeqc" "PhreeqC editing mode" t)"
   echo "   (setq auto-mode-alist (append '(("\\.phrq$" . phreeqc-mode)) auto-mode-alist))"
   echo "   to your ~/.emacs"
   exit 0
}

pre_remove() {
   echo "   Please remove the lines containing"
   echo "   (setq load-path (cons \"/usr/share/emacs/site-lisp/phreeqc\" load-path))"
   echo "   (autoload 'phreeqc-mode "phreeqc" "PhreeqC editing mode" t)"
   echo "   (setq auto-mode-alist (append '(("\\.phrq$" . phreeqc-mode)) auto-mode-alist))"
   echo "   from your ~/.emacs"
}
# vim:set ts=2 sw=2 et: