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

Bug#755804: os-prober: Attached patch adds support for recognizing Exherbo Linux



Package: os-prober
Version: 1.63

Attached is a git format patch to add support for recognizing Exherbo Linux.

-- 
Timo Gurr
From e9f52ce95ab9ced4743b8de69697b002c30020dd Mon Sep 17 00:00:00 2001
From: Timo Gurr <timo.gurr@gmail.com>
Date: Wed, 23 Jul 2014 15:16:05 +0200
Subject: [PATCH] Add support for recognizing 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 6678f22..8dae6a9 100755
--- a/os-probes/mounted/common/90linux-distro
+++ b/os-probes/mounted/common/90linux-distro
@@ -125,6 +125,9 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/usr/lib*/ld*.so*) >/dev/null 2>/dev/null
 	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"
-- 
2.0.2


Reply to: