postrm is in kdelibs-bin 4:4.13.3-0ubuntu0.5.
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 | #! /bin/sh
set -e
case "$1" in
install|upgrade)
# Create reboot trigger for kubuntu-notification-helper containing
# the newly installed upstream version, if it does not match what the
# helper was started with a reboot notification is shown.
kdeVersion=`echo $2 | sed -ne 's/^\(\([0-9]\+\):\)\?\(.*\)-.*/\3/p'`
echo $kdeVersion > /var/run/reboot-required-kdelibs
;;
esac
exit 0
|