~hamo/ubuntu/precise/grub2/grub2.hi_res

« back to all changes in this revision

Viewing changes to debian/grub-pc.prerm

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2008-05-27 11:32:41 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20080527113241-033nau9g4yfsr5ps
Tags: 1.96+20080512-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Adjust debian/default/grub for default Ubuntu boot options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash -e
2
2
 
3
3
case "$1" in
4
 
  remove|upgrade|deconfigure)
 
4
  remove|deconfigure)
5
5
    . /usr/share/debconf/confmodule
6
6
    db_get grub-pc/chainload_from_menu.lst
7
7
    if $RET && test -e /boot/grub/menu.lst ; then
11
11
      /usr/lib/grub-legacy/update-grub 2>&1 | sed -e "s/^/    /g" >&2
12
12
    fi
13
13
  ;;
14
 
  failed-upgrade)
 
14
  failed-upgrade|upgrade)
15
15
  ;;
16
16
  *)
17
17
    echo "prerm called with unknown argument \`$1'" >&2