summarylogtreecommitdiffstats
path: root/rust.install
blob: b51d20561be67bb8fe9a5788b82ec426cd474f2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
update_mime() {
  update-mime-database usr/share/mime >/dev/null
}

post_install() {
  update_mime

  echo ""
  echo "==> Remember to add (require 'rust-mode) to your ~/.emacs if you wish to use it."
  echo ""
}

post_upgrade() {
  post_install "$@"
}

post_remove() {
  update_mime
}