File: postinst

package info (click to toggle)
wl 2.8.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,600 kB
  • ctags: 2,951
  • sloc: lisp: 40,584; sh: 148; makefile: 100
file content (21 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh -e

install-info --section "Emacs" "Wanderlust (ja)" \
 --description='Yet Another Message Interface On Emacsen. (IMAP4,NNTP,POP3 and local mh folder)' \
 --menuentry=Wanderlust --quiet /usr/share/info/wl-ja.info.gz

install-info --section "Emacs" "Wanderlust" \
 --description='Yet Another Message Interface On Emacsen. (IMAP4,NNTP,POP3 and local mh folder)' \
 --menuentry=Wanderlust --quiet /usr/share/info/wl.info.gz

dpkg --compare-versions "$2" lt "2.6.0.20011005cvs" && \
(	for d in `find /usr/share/emacs/ -name "21.*"` `echo /usr/lib/xemacs-*`; do
		if [ -d $d/etc/wl ]; then
			rm -rf $d/etc/wl
			rmdir --ignore-fail-on-non-empty -p $d/etc
		fi
	done)

			

#DEBHELPER#