From 06868c7bb9d2c98b884ee31bac7ee4cf050de96f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 22 Sep 2017 20:28:26 +0200 Subject: [PATCH] Fix condition typo --- install_yunohost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_yunohost b/install_yunohost index ff39758..a0ab2ca 100755 --- a/install_yunohost +++ b/install_yunohost @@ -184,7 +184,7 @@ setup_package_source() { # Check current system version and dependencies - if [[ $THIS_MACHINE_RELEASE =~ ^jessie|stretch$ ]]; then + if [[ ! $THIS_MACHINE_RELEASE =~ ^jessie|stretch$ ]]; then echo "Current $DISTRIB only works on Debian Jessie or Stretch for the moment." return 1 elif ! command -v systemctl > /dev/null ; then