forked from pool/os-prober
f4287cc9b1
Companion to new grub2. Probably should not be accepted standalone, as it has at least one small patch that depends on new code in grub2. OBS-URL: https://build.opensuse.org/request/show/179592 OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=27
14 lines
560 B
Diff
14 lines
560 B
Diff
Index: os-prober-1.57/os-probes/mounted/common/90linux-distro
|
|
===================================================================
|
|
--- os-prober-1.57.orig/os-probes/mounted/common/90linux-distro
|
|
+++ os-prober-1.57/os-probes/mounted/common/90linux-distro
|
|
@@ -84,7 +84,7 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/
|
|
short="RedHat"
|
|
long="$(cat "$dir/etc/redhat-release")"
|
|
elif [ -e "$dir/etc/SuSE-release" ]; then
|
|
- short="SuSE"
|
|
+ short="SUSE"
|
|
long="$(head -n 1 "$dir/etc/SuSE-release")"
|
|
elif [ -e "$dir/etc/gentoo-release" ]; then
|
|
short="Gentoo"
|