Files
desktop-base/debian/postrm
Yves-Alexis Perez 336d1d911a * debian/preinst, debian/postinst, debian/postrm:
- remove /etc/kde3/kdeglobals using dpkg-maintscript-helper closes: #603810
2010-11-18 12:09:34 +00:00

15 lines
312 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