postinst is in usermetricsservice 1.1.1+15.10.20150915-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 12 13 14 15 16 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
dbus-send --system --print-reply \
--dest=org.freedesktop.DBus \
/org/freedesktop/DBus \
org.freedesktop.DBus.StartServiceByName \
string:"com.canonical.UserMetrics" uint32:0 \
|| true
exit 0
|