This file is indexed.

postinst is in tomboy 1.15.9-0ubuntu1.

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

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