Annotation of /trunk/grub/patches/grub-1.99-cosmetic.patch
Parent Directory | Revision Log
Revision 1405 -
(hide annotations)
(download)
Mon Jul 4 16:20:09 2011 UTC (13 years, 2 months ago) by niro
File size: 1851 byte(s)
Mon Jul 4 16:20:09 2011 UTC (13 years, 2 months ago) by niro
File size: 1851 byte(s)
-added cosmetic patch
1 | niro | 1405 | diff -Naur grub-1.99/util/grub.d/10_linux.in grub-1.99-magellan/util/grub.d/10_linux.in |
2 | --- grub-1.99/util/grub.d/10_linux.in 2011-05-14 22:36:49.000000000 +0200 | ||
3 | +++ grub-1.99-magellan/util/grub.d/10_linux.in 2011-07-04 20:21:25.000000000 +0200 | ||
4 | @@ -31,7 +31,7 @@ | ||
5 | if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then | ||
6 | OS=GNU/Linux | ||
7 | else | ||
8 | - OS="${GRUB_DISTRIBUTOR} GNU/Linux" | ||
9 | + OS="${GRUB_DISTRIBUTOR}" | ||
10 | CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}" | ||
11 | fi | ||
12 | |||
13 | @@ -66,9 +66,9 @@ | ||
14 | recovery="$3" | ||
15 | args="$4" | ||
16 | if ${recovery} ; then | ||
17 | - title="$(gettext_quoted "%s, with Linux %s (recovery mode)")" | ||
18 | + title="$(gettext_quoted "%s [ %s ] (recovery mode)")" | ||
19 | else | ||
20 | - title="$(gettext_quoted "%s, with Linux %s")" | ||
21 | + title="$(gettext_quoted "%s [ %s ]")" | ||
22 | fi | ||
23 | printf "menuentry '${title}' ${CLASS} {\n" "${os}" "${version}" | ||
24 | if ! ${recovery} ; then | ||
25 | diff -Naur grub-1.99/util/grub.d/20_linux_xen.in grub-1.99-magellan/util/grub.d/20_linux_xen.in | ||
26 | --- grub-1.99/util/grub.d/20_linux_xen.in 2011-04-13 21:20:29.000000000 +0200 | ||
27 | +++ grub-1.99-magellan/util/grub.d/20_linux_xen.in 2011-07-04 20:23:57.000000000 +0200 | ||
28 | @@ -31,7 +31,7 @@ | ||
29 | if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then | ||
30 | OS=GNU/Linux | ||
31 | else | ||
32 | - OS="${GRUB_DISTRIBUTOR} GNU/Linux" | ||
33 | + OS="${GRUB_DISTRIBUTOR}" | ||
34 | CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}" | ||
35 | fi | ||
36 | |||
37 | @@ -68,9 +68,9 @@ | ||
38 | args="$5" | ||
39 | xen_args="$6" | ||
40 | if ${recovery} ; then | ||
41 | - title="$(gettext_quoted "%s, with Xen %s and Linux %s (recovery mode)")" | ||
42 | + title="$(gettext_quoted "%s Xen-%s [ %s ] (recovery mode)")" | ||
43 | else | ||
44 | - title="$(gettext_quoted "%s, with Xen %s and Linux %s")" | ||
45 | + title="$(gettext_quoted "%s Xen-%s [ %s ]")" | ||
46 | fi | ||
47 | printf "menuentry '${title}' ${CLASS} {\n" "${os}" "${xen_version}" "${version}" | ||
48 | if ! ${recovery} ; then |