From 11cc64c37f41d63954f45f1afc8af1b833d2eeb5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 13 Apr 2019 15:32:24 +0200 Subject: [PATCH] remove Debian version check --- scripts/install | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/install b/scripts/install index a4483a4..2e5bdc5 100644 --- a/scripts/install +++ b/scripts/install @@ -39,15 +39,6 @@ SYNCUSER=debian-syncthing SYNCPORT=22000 GUIPORT=8384 - - -# Check Debian version -if [[ $(cat /etc/debian_version) < 8 ]] -then - echo "You need debian Jessie (8.x) or more to install syncthing_ynh." - exit 1 -fi - # Check that admin user is an existing account sudo yunohost user list --json | grep -q "\"username\": \"$admin\"" \ || (echo "Error: the chosen admin user does not exist" && exit 1)