summarylogtreecommitdiffstats
path: root/omnetpp.install
blob: 214f5aba3e00543609f3f8021e4d8ecc54f7239e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
  cat << EOF
==> Put this in your $HOME/.emacs file to enable autoloading of ned-mode
==> and ini-mode:

(autoload 'ned-mode "ned-mode" "Major Mode for editing Ned files" t)
(setq auto-mode-alist (cons '("\\.ned\\'" . ned-mode) auto-mode-alist))

(autoload 'ini-mode "ini-mode" "Major Mode for editing ini files" t)
(setq auto-mode-alist (cons '("\\.ini\\'" . ini-mode) auto-mode-alist))

==> Now you can type "omnetpp" to start the IDE
EOF
}

post_upgrade() {
  post_install $1
}