This file is indexed.

postinst is in gnome-breakout 0.5.3-5.

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

if [ ! -d /var/games ]; then
        mkdir -p /var/games
fi

# 0.5.1-2 installed highscore file the wrong place
if [ -f /var/lib/games/gnome-breakout.scores ]; then
        mv /var/lib/games/gnome-breakout.scores /var/games/gnome-breakout.scores
fi

if [ ! -f /var/games/gnome-breakout.scores ]; then
        touch /var/games/gnome-breakout.scores
        chown root:games /var/games/gnome-breakout.scores
        chmod 0664 /var/games/gnome-breakout.scores
fi

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