postinst is in fprintd 0.8.0-2.
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 | #!/bin/sh
set -e
# Ask D-Bus to reload its configuration.
if [ "$1" = configure -a -x "/etc/init.d/dbus" ]; then
invoke-rc.d dbus force-reload || true
fi
# Automatically added by dh_systemd_start/10.10.5ubuntu1
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=try-restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'fprintd.service' >/dev/null || true
fi
# End automatically added section
exit 0
|