This file is indexed.

postinst is in bombardier 0.8.3+nmu1ubuntu3.

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
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
set -e

case "$1" in
    configure)
	if ! [ -d /var/games/bombardier ]
	then
	    mkdir /var/games/bombardier
	fi
	chmod 0755 /var/games/bombardier
	chown root /var/games/bombardier
	chgrp root /var/games/bombardier
	if ! [ -f /var/games/bombardier/bdscore ]
	then
	    cat >/var/games/bombardier/bdscore <<EOF
Teller Ede          |1908-01-15|  16384
Szilárd Leó         |1898-02-11|   8192
Neumann János       |1903-12-28|   4096
Gábor Dénes         |1900-06-05|   2048
Bolyai János        |1802-12-15|   1024
Eötvös Loránd       |1848-07-27|    512
Horthy Miklós       |1868-06-18|    256
Kádár János         |1912-05-26|    128
Rákosi Mátyás       |1892-03-09|     64
EOF
	fi
	chown root /var/games/bombardier/bdscore
	chgrp games /var/games/bombardier/bdscore
	chmod 0664 /var/games/bombardier/bdscore
	;;
    abort-upgrade|abort-remove|abort-deconfigure)
	;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 0
	;;
esac

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


exit 0