~ubuntu-branches/debian/sid/grub2/sid-200907171837

« back to all changes in this revision

Viewing changes to debian/grub-pc.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2009-07-02 13:23:51 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702132351-tanpn0ryyijp93gu
Tags: 1.96+20090702-1
* New SVN snapshot.
* rules: Remove duplicated files in sparc64-ieee1275 port.
* rules: Comment out -DGRUB_ASSUME_LINUX_HAS_FB_SUPPORT=1 setting.  We'll
  re-evaluate using it when it's more mature.  (Closes: #535026).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash -e
 
2
 
 
3
case "$1" in
 
4
  purge)
 
5
 
 
6
    rm -f /etc/default/grub
 
7
 
 
8
    if which ucf >/dev/null; then
 
9
        ucf --purge /etc/default/grub
 
10
    fi
 
11
    if which ucfr >/dev/null; then
 
12
        ucfr --purge grub-pc /etc/default/grub
 
13
    fi
 
14
 
 
15
  ;;
 
16
  remove|upgrade|failed-upgrade|abort-upgrade|abort-install)
 
17
  ;;
 
18
  *)
 
19
    echo "postrm called with unknown argument \`$1'" >&2
 
20
    exit 1
 
21
  ;;
 
22
esac
 
23
 
 
24
# dh_installdeb will replace this with shell code automatically
 
25
# generated by other debhelper scripts.
 
26
 
 
27
#DEBHELPER#
 
28
 
 
29
exit 0