postrm is in kdm-gdmcompat 0.13-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 24 25 | #!/bin/bash
# kdmflexiserver package post-removal script
#
# Copyright (C) 2007, 2009 Fabian Knittel
# Licensed under the GNU General Public License; either version 2 of the
# license, or (at your option) any later version. See the file
# /usr/share/common-licenses/GPL-2 or <http://www.gnu.org/licences/gpl-2.0.txt>.
set -e
undo_divert()
{
dpkg-divert --rename --package kdm-gdmcompat --remove $1
}
if [ "$1" = "remove" ]; then
undo_divert /usr/bin/gdmflexiserver
undo_divert /usr/share/man/man1/gdmflexiserver.1.gz
fi
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d kdm-gdmcompat remove >/dev/null || exit $?
fi
# End automatically added section
|