summaryrefslogtreecommitdiff
path: root/libre/grub/grub-10_linux-rebrand-free-distros.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/grub/grub-10_linux-rebrand-free-distros.patch')
-rw-r--r--libre/grub/grub-10_linux-rebrand-free-distros.patch28
1 files changed, 10 insertions, 18 deletions
diff --git a/libre/grub/grub-10_linux-rebrand-free-distros.patch b/libre/grub/grub-10_linux-rebrand-free-distros.patch
index c9285e699..7edb22a1f 100644
--- a/libre/grub/grub-10_linux-rebrand-free-distros.patch
+++ b/libre/grub/grub-10_linux-rebrand-free-distros.patch
@@ -1,27 +1,19 @@
-diff -Nur grub.orig/util/grub.d/10_linux.in grub/util/grub.d/10_linux.in
---- grub.orig/util/grub.d/10_linux.in 2014-01-11 06:07:40.750886565 -0200
-+++ grub/util/grub.d/10_linux.in 2014-01-11 06:14:19.032955542 -0200
-@@ -30,8 +30,25 @@
-
+diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
+index 00d1931..23de7ce 100644
+--- a/util/grub.d/10_linux.in
++++ b/util/grub.d/10_linux.in
+@@ -31,7 +31,17 @@ CLASS="--class gnu-linux --class gnu --class os"
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
--else
+ else
- OS="${GRUB_DISTRIBUTOR} GNU/Linux"
-+ if [ "${GRUB_DISTRIBUTOR}" = "Parabola" ] ; then
-+ OS="${GRUB_DISTRIBUTOR} GNU/Linux-libre"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "parabola" ] ; then
++ if echo ${GRUB_DISTRIBUTOR} | grep -qi Parabola ; then
+ OS="${GRUB_DISTRIBUTOR} GNU/Linux-libre"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "Blag" ] ; then
-+ OS="${GRUB_DISTRIBUTOR} Linux and GNU"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "blag" ] ; then
++ elif echo ${GRUB_DISTRIBUTOR} | grep -qi Blag ; then
+ OS="${GRUB_DISTRIBUTOR} Linux and GNU"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "Musix" ] ; then
++ elif echo ${GRUB_DISTRIBUTOR} | grep -qi Musix ; then
+ OS="${GRUB_DISTRIBUTOR} GNU+Linux"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "musix" ] ; then
-+ OS="${GRUB_DISTRIBUTOR} GNU+Linux"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "Dragora" ] ; then
-+ OS="${GRUB_DISTRIBUTOR} GNU/Linux-libre"
-+ elif [ "${GRUB_DISTRIBUTOR}" = "dragora" ] ; then
++ elif echo ${GRUB_DISTRIBUTOR} | grep -qi Dragora ; then
+ OS="${GRUB_DISTRIBUTOR} GNU/Linux-libre"
+ else
+ OS="${GRUB_DISTRIBUTOR} GNU/Linux"