File: util-linux.postinst

package info (click to toggle)
util-linux 2.33.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 44,712 kB
  • sloc: ansic: 126,306; sh: 15,468; yacc: 1,170; makefile: 383; xml: 348; python: 316; csh: 37; sed: 16; perl: 15
file content (12 lines) | stat: -rw-r--r-- 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

update-alternatives --install /usr/bin/pager pager /bin/more 50 \
	--slave /usr/share/man/man1/pager.1.gz pager.1.gz \
	/usr/share/man/man1/more.1.gz

# We stopped shipping the 'pg' utility, so remove it as a pager
# alternative on upgrades from Stretch.
update-alternatives --remove pager /usr/bin/pg

#DEBHELPER#