blob: ff840ef8837b9499386cef92e99f2a3b00b8a0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Description: If GRUB Legacy is still around, tell packaging to ignore it
Author: Colin Watson <cjwatson@debian.org>
Bug-Debian: http://bugs.debian.org/586143
Forwarded: not-needed
Last-Update: 2010-06-18
Index: b/util/grub-install.in
===================================================================
--- a/util/grub-install.in
+++ b/util/grub-install.in
@@ -660,6 +660,13 @@
fi
fi
+# If vestiges of GRUB Legacy still exist, tell the Debian packaging that
+# they can ignore them.
+if test -z "$rootdir" && \
+ test -e /boot/grub/stage2 && test -e /boot/grub/menu.lst; then
+ touch /boot/grub/grub2-installed
+fi
+
echo "Installation finished. No error reported."
# Bye.
|