This file is indexed.

postinst is in oroborus 2.0.20.

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
#!/bin/sh

set -e

# Register as an x-window-manager
if [ "$1" = "configure" ]; then
  if [ "$2" ] && dpkg --compare-versions $2 le 0.51.3-12; then
	update-alternatives --remove x-window-manager /etc/X11/window-managers
  fi
fi
update-alternatives --install /usr/bin/x-window-manager \
x-window-manager /usr/bin/oroborus 50
		
# Restart all running oroboruses
if [ "$(pidof oroborus)" ]; then
	# use /bin/kill to be sure its procps ;P
	kill -s 1 $(pidof oroborus)
fi

# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
	update-menus
fi
# End automatically added section