From 75d7d59db66f2ba5e228bc97b458ec306b768a36 Mon Sep 17 00:00:00 2001 From: ronivay Date: Mon, 22 Jun 2020 17:54:14 +0300 Subject: [PATCH] add missing free disk space check and remove memory check from non interactive options --- xo-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xo-install.sh b/xo-install.sh index cd750d4..8ead74c 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -726,18 +726,15 @@ function HandleArgs { case "$1" in --update) - CheckMemory UpdateNodeYarn update UpdateXO ;; --install) if [ $OSNAME == "CentOS" ]; then - CheckMemory InstallDependenciesCentOS InstallXO exit 0 else - CheckMemory InstallDependenciesDebian InstallXO exit 0 @@ -748,6 +745,7 @@ function HandleArgs { exit 0 ;; *) + CheckDiskFree CheckMemory StartUpScreen ;; @@ -1023,6 +1021,7 @@ if [[ $# == "1" ]]; then HandleArgs "$1" exit 0 else + CheckDiskFree CheckMemory StartUpScreen fi