postrm is in libgstreamer1.0-dev 1.2.3-1.
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 | #!/bin/sh
set -e
rm_diversion() {
dpkg-divert --package libgstreamer1.0-dev --rename --remove "$1"
}
if [ "$1" = "remove" -o "$1" = "abort-install" -o "$1" = "disappear" ] ; then
rm_diversion /usr/bin/dh_gstscancodecs
rm_diversion /usr/share/man/man1/dh_gstscancodecs.1.gz
fi
exit 0
|