Files
desktop-base/debian/postrm
Yves-Alexis Perez f8c98bd837 debian/post{inst,rm}: don't configure plymouth theme, it'll override user
settings. A better solution needs to be found for Wheezy    closes: #607142
2010-12-21 09:28:42 +00:00

23 lines
492 B
Bash

#!/bin/sh -e
#DEBHELPER#
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
fi
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