This file is indexed.

postinst is in xterm 330-1ubuntu2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# Debian xterm package post-installation script
# Copyright 1998-2001, 2003, 2004 Branden Robinson.
# Licensed under the GNU General Public License, version 2.  See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.

set -e

update-alternatives --install /usr/bin/x-terminal-emulator \
  x-terminal-emulator /usr/bin/xterm 20 --slave \
  /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
  /usr/share/man/man1/xterm.1.gz

update-alternatives --install /usr/bin/x-terminal-emulator \
  x-terminal-emulator /usr/bin/uxterm 20 --slave \
  /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
  /usr/share/man/man1/uxterm.1.gz

update-alternatives --install /usr/bin/x-terminal-emulator \
  x-terminal-emulator /usr/bin/koi8rxterm 20 --slave \
  /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
  /usr/share/man/man1/koi8rxterm.1.gz

update-alternatives --install /usr/bin/x-terminal-emulator \
  x-terminal-emulator /usr/bin/lxterm 30 --slave \
  /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
  /usr/share/man/man1/lxterm.1.gz



exit 0

# vim:set ai et sw=4 ts=4 tw=80: