From 6b3a279cad517f2c4432f2efb632b3d66279cab2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Moreau?= <cem.moreau@gmail.com>
Date: Thu, 3 Dec 2015 14:53:11 +0100
Subject: [PATCH] Debian 8 x64 is ready for binary

---
 install.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/install.sh b/install.sh
index 0363d8287..cadae2ae8 100644
--- a/install.sh
+++ b/install.sh
@@ -196,10 +196,12 @@ ucoin_detect_profile() {
 
 ucoin_is_available_for_distribution() {
   local distribution
+  local distribution_deb
 
   distribution=`cat /etc/*-release file 2>/dev/null | grep "Ubuntu"`
+  distribution_deb=`cat /etc/*-release file 2>/dev/null | grep "Debian"`
 
-  if [[ $distribution = *Ubuntu\ 14* ]] || [[ $distribution = *Ubuntu\ 15* ]]; then
+  if [[ "$distribution" = *Ubuntu\ 14* ]] || [[ "$distribution" = *Ubuntu\ 15* ]] || [[ "$distribution_deb" = *Debian*8*jessie* ]]; then
     return 0
   else
     return 1
@@ -262,4 +264,4 @@ ucoin_reset() {
 
 [ "_$UCOIN_ENV" = "_testing" ] || ucoin_do_install $1
 
-} # this ensures the entire script is downloaded #
\ No newline at end of file
+} # this ensures the entire script is downloaded #
-- 
GitLab