This file is indexed.

postinst is in atomix 2.14.0-2ubuntu2.

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

set -e

if [ "$1" = "configure" ]; then

    SCORE_DIR='/var/games'
    SCORE_FILE='atomix.scores'

    if [ ! -d $SCORE_DIR ]; then
	mkdir $SCORE_DIR
    fi

    if [ -e $SCORE_DIR/$SCORE_FILE ]; then
	continue
    fi

    touch $SCORE_DIR/$SCORE_FILE
    chown root:games $SCORE_DIR/$SCORE_FILE
    chmod 664 $SCORE_DIR/$SCORE_FILE

fi

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