From b0a1aab0339258183052a46753bf82c9814a5600 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Thu, 21 Dec 2017 10:28:55 +0100 Subject: [PATCH] Make sure setup script runs on linux --- scripts/lib/setup/platform.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/lib/setup/platform.sh b/scripts/lib/setup/platform.sh index 8b304ab8cd..33235d6a15 100755 --- a/scripts/lib/setup/platform.sh +++ b/scripts/lib/setup/platform.sh @@ -10,14 +10,9 @@ function is_linux() { [[ "$OS" =~ Linux ]] } -function is_ubuntu() { - ! is_linux && return 1 - (lsb_release -a 2>/dev/null | grep -q Ubuntu) && (command -v apt >/dev/null) -} - function exit_unless_os_supported() { - if ! is_macos && ! is_ubuntu; then - cecho "@red[[This install script currently supports Mac OS X and Ubuntu \ + if ! is_macos && ! is_linux; then + cecho "@red[[This install script currently supports Mac OS X and Linux \ via apt. To manually install, please visit the wiki for more information:]] @blue[[https://wiki.status.im/Building_Status]]"