File: postinst.jless

package info (click to toggle)
jless 382-iso262-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,808 kB
  • ctags: 1,332
  • sloc: sh: 18,019; ansic: 15,553; makefile: 81; awk: 7
file content (24 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# less.postinst - call after dpkg has unpacked the package
# written by Darren Stalder (whooptidoo!)
#
set -e

case "$1" in
    configure)
        update-alternatives --quiet --install /usr/bin/pager pager \
		/usr/bin/less 77 --slave /usr/man/man1/pager.1.gz \
		pager.1.gz /usr/man/man1/less.1.gz
        ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
        ;;
esac

#DEBHELPER#

exit 0