~madengineer10/ubuntu/trusty/grub/linux-pref-substr

« back to all changes in this revision

Viewing changes to debian/postinst.in

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-10-22 09:36:32 UTC
  • Revision ID: package-import@ubuntu.com-20131022093632-jtxyy18sbpmp35yc
Tags: 2.00-19ubuntu3
Adjust UEFI installation to cope with Kubuntu setting GRUB_DISTRIBUTOR
(LP: #1242417).

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
      grub-efi-ia32|grub-efi-amd64)
683
683
        bootloader_id="$(config_item GRUB_DISTRIBUTOR | tr A-Z a-z | \
684
684
                         cut -d' ' -f1)"
 
685
        case $bootloader_id in
 
686
          kubuntu) bootloader_id=ubuntu ;;
 
687
        esac
685
688
        if [ "$bootloader_id" ] && [ -d "/boot/efi/EFI/$bootloader_id" ]; then
686
689
          grub-install
687
690
        fi