[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch: os-prober - Add detection of Exherbo Linux



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

attached you'll find a patch for os-prober against git HEAD to add
detection of Exherbo Linux. Would be nice if you would apply it, thanks!

(I'm not subscribed to this list so any questions, etc. would best be
emailed directly. Thanks again!)

- -- 
Best regards, Wulf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+cbKYACgkQnuVXRcSi+5rt2wCeK1r6p9Y4s5KG9iJlCQomoX2m
ggoAn3l+17IRQBkLXGH6Y/ZMcPKdBiw4
=N497
-----END PGP SIGNATURE-----
>From a0f78dfaa268861ac71ede686626f48e2d580722 Mon Sep 17 00:00:00 2001
From: "Wulf C. Krueger" <philantrop@exherbo.org>
Date: Sat, 28 Apr 2012 23:58:23 +0200
Subject: [PATCH] Add detection of Exherbo Linux.

---
 os-probes/mounted/common/90linux-distro |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/os-probes/mounted/common/90linux-distro b/os-probes/mounted/common/90linux-distro
index f237a38..ee62e97 100755
--- a/os-probes/mounted/common/90linux-distro
+++ b/os-probes/mounted/common/90linux-distro
@@ -121,6 +121,9 @@ if ls "$dir"/lib*/ld*.so* >/dev/null 2>/dev/null; then
 	elif [ -e "$dir/etc/meego-release" ]; then
 		short="MeeGo"
 		long="$(head -1 "$dir/etc/meego-release")"
+	elif [ -e "$dir/etc/exherbo-release" ]; then
+		short="Exherbo"
+		long="Exherbo Linux"
 	else
 		short="Linux"
 		long="unknown Linux distribution"
-- 
1.7.9.6


Reply to: