File: postrm

package info (click to toggle)
desktop-base 6.0.5squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,092 kB
  • ctags: 8
  • sloc: xml: 556; sh: 194; makefile: 68
file content (22 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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