mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Fix condition typo
This commit is contained in:
parent
c3e0004c84
commit
06868c7bb9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue