File: postinst

package info (click to toggle)
cpio 2.6-18.1%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 3,248 kB
  • ctags: 1,730
  • sloc: ansic: 14,893; sh: 4,793; makefile: 234; sed: 16
file content (13 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

if [ "$1" = configure ]; then
    # Fix some screwup in old package
    case "$2" in
    (2.4.2-3[45]) update-alternatives --remove mt /bin/gmt; esac
    update-alternatives --install /bin/mt mt /bin/mt-gnu 10 \
      --slave \
	/usr/share/man/man1/mt.1.gz mt.1.gz /usr/share/man/man1/mt-gnu.1.gz
    install-info --quiet \
      --description="A program to manage archives of files." \
      --section "General Commands" "General Commands" /usr/share/info/cpio.info
fi