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

[Libguestfs] [PATCH] Set DISTRO to SUSE if /etc/SuSE-release exists



Signed-off-by: Olaf Hering <olaf aepfle de>
---

not compile-tested.

 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 71f7b06..2db9593 100644
--- a/configure.ac
+++ b/configure.ac
@@ -519,6 +519,9 @@ fi
 if test -f /etc/arch-release; then
     DISTRO=ARCHLINUX
 fi
+if test -f /etc/SuSE-release; then
+    DISTRO=SUSE
+fi
 AC_MSG_RESULT([$DISTRO])
 AC_SUBST([DISTRO])
 


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