This file is indexed.

postinst is in gnome-activity-journal 0.9.is.really.0.8.0-0ubuntu3.

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


# Automatically added by dhpython:
if which pycompile >/dev/null 2>&1; then
	pycompile -p gnome-activity-journal /usr/share/gnome-activity-journal -V 2.5-
fi

# End automatically added section


restart_daemon()
{
	# Tell any running Zeitgeist daemon to stop gracefully - they'll be
	# restarted through D-Bus activation the next time they are needed.
	kill -s HUP `pidof -x zeitgeist-daemon` >/dev/null 2>&1 || true
}

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