os-prober/os-prober-1.66-linux-distro-openmamba.patch

13 lines
627 B
Diff
Raw Permalink Normal View History

--- os-prober/os-probes/mounted/common/90linux-distro.orig 2015-08-21 14:01:45.070007110 +0200
+++ os-prober/os-probes/mounted/common/90linux-distro 2015-08-21 14:02:57.663012466 +0200
@@ -23,6 +23,9 @@
long="$(printf "Debian GNU/Linux (%s)\n" "$(cat "$dir/etc/debian_version")")"
# RPM derived distributions may also have a redhat-release or
# mandrake-release, so check their files first.
+ elif [ -e "$dir/etc/openmamba-release" ]; then
+ short="openmamba"
+ long="$(cat "$dir/etc/openmamba-release")"
elif [ -e "$dir/etc/altlinux-release" ]; then
short="ALTLinux"
long="$(cat "$dir/etc/altlinux-release")"