]> git.proxmox.com Git - grub2.git/blame - debian/grub-efi.postinst
Add support for forcing EFI installation to the removable media path
[grub2.git] / debian / grub-efi.postinst
CommitLineData
81fc656b
CW
1#! /bin/sh
2set -e
3
4case "$1" in
5 configure)
7df51568 6 if dpkg --compare-versions "$2" lt-nl 2.00-6; then
81fc656b 7 # Force dpkg to replace this directory with a symlink.
a619b95e
CW
8 if [ ! -L /usr/share/doc/grub-efi ] && [ -d /usr/share/doc/grub-efi ]; then
9 if rmdir /usr/share/doc/grub-efi 2>/dev/null; then
10 ln -sf grub-common /usr/share/doc/grub-efi
81fc656b
CW
11 fi
12 fi
13 fi
14 ;;
15esac
16
17#DEBHELPER#
18
19exit 0