File: postinst

package info (click to toggle)
ytalk 3.3.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 760 kB
  • ctags: 570
  • sloc: ansic: 6,105; sh: 471; makefile: 99
file content (13 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" != upgrade ] || dpkg --compare-versions "$2" lt 3.1.1-2; then
        update-alternatives --install /usr/bin/talk talk \
                                      /usr/bin/ytalk 110 \
                            --slave /usr/share/man/man1/talk.1.gz talk.1.gz \
                                    /usr/share/man/man1/ytalk.1.gz
fi

# Debhelper generated snippets:
#DEBHELPER#