summarylogtreecommitdiffstats
path: root/identica-mode.install
blob: d86834222719a8f7d2e6ea2f9905f60ec5fdc489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
info_dir=/usr/share/info

post_install() {
    install-info ${info_dir}/identica-mode.info.gz ${info_dir}/dir 2> /dev/null
cat << EOF
==> Put this in your ~/.emacs file to identify in identi.ca

;; Identi.ca mode
(require 'identica-mode)
(setq identica-username "yourusername")
(setq identica-password "yourpassword")
EOF
}

post_upgrade() {
    post_install $1
}

pre_remove () {
    install-info --delete ${info_dir}/identica-mode.info.gz ${info_dir}/dir 2> /dev/null
}