1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

remove Debian version check

This commit is contained in:
yalh76 2019-04-13 15:32:24 +02:00
parent 117d5308a4
commit 11cc64c37f

View file

@ -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)