postrm is in libqgsttools-p1-touch 5.1.1+git20131205+8230c02-0ubuntu4.
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 | pkg=libqgsttools-p1-touch
divert_dir="/var/lib/$pkg-diverted"
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" -o purge = "$1" ]; then
for version in 1.0.0 1.0 1; do
dpkg-divert --package "$pkg" --remove --rename \
--divert \
"$divert_dir"/libqgsttools_p.so.$version.diverted-$pkg \
/usr/lib/x86_64-linux-gnu/libqgsttools_p.so.$version
done
if [ -d "$divert_dir" ]; then
rmdir "$divert_dir"
fi
fi
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
|