postrm is in desktop-base 6.0.7ubuntu1.
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 | #!/bin/sh -e
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
# End automatically added section
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
if which update-grub2 > /dev/null ; then
update-grub2 || true
fi
fi
#if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
# if [ -x /usr/sbin/plymouth-set-default-theme ];
# then
# plymouth-set-default-theme -r -R ||true
# fi
#fi
|