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:
parent
117d5308a4
commit
11cc64c37f
1 changed files with 0 additions and 9 deletions
|
@ -39,15 +39,6 @@ SYNCUSER=debian-syncthing
|
||||||
SYNCPORT=22000
|
SYNCPORT=22000
|
||||||
GUIPORT=8384
|
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
|
# Check that admin user is an existing account
|
||||||
sudo yunohost user list --json | grep -q "\"username\": \"$admin\"" \
|
sudo yunohost user list --json | grep -q "\"username\": \"$admin\"" \
|
||||||
|| (echo "Error: the chosen admin user does not exist" && exit 1)
|
|| (echo "Error: the chosen admin user does not exist" && exit 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue