From 10fe23054b4e0f74b7a475f8e9b312318a714038 Mon Sep 17 00:00:00 2001 From: Lahire Biette Date: Thu, 3 Nov 2016 12:44:38 +0100 Subject: [PATCH] correct install script --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index bf29a83..a7883c1 100644 --- a/scripts/install +++ b/scripts/install @@ -13,9 +13,9 @@ user=$3 channel=$4 # Check Debian version -if [[ $(cat /etc/debian_version) = "7."* ]] +if [[ $(cat /etc/debian_version) < 8 ]] then - echo "You need debian Jessie (8.x) to install gogs." + echo "You need debian Jessie (8.x) or more to install syncthing_ynh." exit 1 fi