From 10cd21067ef7b91d471a2fdefb89a32899943af9 Mon Sep 17 00:00:00 2001 From: ronivay Date: Sat, 4 Apr 2020 20:47:16 +0300 Subject: [PATCH] Exclude memory amount from rollback option, pointless --- xo-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xo-install.sh b/xo-install.sh index 746c709..1978536 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -532,15 +532,18 @@ function HandleArgs { case "$1" in --update) + CheckMemory UpdateNodeYarn UpdateXO ;; --install) if [ $OSNAME == "CentOS" ]; then + CheckMemory InstallDependenciesCentOS InstallXO exit 0 else + CheckMemory InstallDependenciesDebian InstallXO exit 0 @@ -551,6 +554,7 @@ function HandleArgs { exit 0 ;; *) + CheckMemory StartUpScreen ;; esac @@ -777,11 +781,11 @@ CheckUser CheckOS CheckSystemd CheckCertificate -CheckMemory if [[ $# == "1" ]]; then HandleArgs "$1" exit 0 else + CheckMemory StartUpScreen fi