This file is indexed.

postinst is in gnome-schedule 2.1.1-4.

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

set -e

# version 1.0.0-1 started shipping /var/lib/scrollkeeper erroneously, hence
# the database was overwritten and needs a full rebuild
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" ge "1.0.0-1" && dpkg --compare-versions "$2" lt "1.0.0-1.1" && which scrollkeeper-rebuilddb >/dev/null 2>&1; then
    echo "Upgrade from broken version detected, running scrollkeeper-rebuilddb..."
    scrollkeeper-rebuilddb -q
fi

# Automatically added by dh_pysupport
if which update-python-modules >/dev/null 2>&1; then
	update-python-modules  gnome-schedule.private
fi
# End automatically added section