summarylogtreecommitdiffstats
path: root/psgml.install
blob: 5dab5879e5001eb5190ab0cc040f1051989b0ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# arg 1:  the new package version
post_install() {
  echo
  echo "Put the following lines in your .emacs:"
  echo "  (autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)"
  echo "  (autoload 'xml-mode "psgml" "Major mode to edit XML files." t)"
  echo
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  /bin/true
}

# arg 1:  the old package version
pre_remove() {
  /bin/true
}

op=$1
shift

$op $*