postrm is in ichthux-default-settings 1:6.10-2ubuntu4.
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
set -e
case "$1" in
remove|deconfigure|failed-upgrade)
# Remove ichthux config path from kderc
sed -i -e 's@,/usr/share/ichthux-default-settings/kde-profile/default/@@' /etc/kderc
# switch kdm theme to Ichthux
if grep -q '^Theme=/usr/share/apps/kdm/themes/ichthux' /etc/kde3/kdm/kdmrc && grep -q '^UseTheme=true' /etc/kde3/kdm/kdmrc; then
sed -i -e 's/UseTheme=true/UseTheme=false/' /etc/kde3/kdm/kdmrc
echo "Removing and disabling Ichthux KDM theme ..."
else
echo "KDM theme customised or not enabled, not touching kdmrc ..."
fi
;;
esac
|