File: postinst-ml

package info (click to toggle)
wterm 6.2.9-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,584 kB
  • ctags: 1,312
  • sloc: ansic: 12,563; sh: 543; makefile: 354
file content (13 lines) | stat: -rw-r--r-- 472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

if [ "$1" = configure ]; then
    if test -x /usr/bin/update-menus; then update-menus; fi

    update-alternatives --install /usr/bin/x-terminal-emulator \
	x-terminal-emulator /usr/bin/wterm-ml 9 \
	--slave /usr/share/man/man1/x-terminal-emulator.1.gz \
	x-terminal-emulator.1.gz /usr/share/man/man1/wterm-ml.1x.gz
    pkg=wterm-ml
    if test -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg; then
	ln -sf ../share/doc/$pkg /usr/doc/$pkg; fi
fi