Exclude memory amount from rollback option, pointless
This commit is contained in:
@@ -532,15 +532,18 @@ function HandleArgs {
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--update)
|
--update)
|
||||||
|
CheckMemory
|
||||||
UpdateNodeYarn
|
UpdateNodeYarn
|
||||||
UpdateXO
|
UpdateXO
|
||||||
;;
|
;;
|
||||||
--install)
|
--install)
|
||||||
if [ $OSNAME == "CentOS" ]; then
|
if [ $OSNAME == "CentOS" ]; then
|
||||||
|
CheckMemory
|
||||||
InstallDependenciesCentOS
|
InstallDependenciesCentOS
|
||||||
InstallXO
|
InstallXO
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
CheckMemory
|
||||||
InstallDependenciesDebian
|
InstallDependenciesDebian
|
||||||
InstallXO
|
InstallXO
|
||||||
exit 0
|
exit 0
|
||||||
@@ -551,6 +554,7 @@ function HandleArgs {
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
CheckMemory
|
||||||
StartUpScreen
|
StartUpScreen
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -777,11 +781,11 @@ CheckUser
|
|||||||
CheckOS
|
CheckOS
|
||||||
CheckSystemd
|
CheckSystemd
|
||||||
CheckCertificate
|
CheckCertificate
|
||||||
CheckMemory
|
|
||||||
|
|
||||||
if [[ $# == "1" ]]; then
|
if [[ $# == "1" ]]; then
|
||||||
HandleArgs "$1"
|
HandleArgs "$1"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
CheckMemory
|
||||||
StartUpScreen
|
StartUpScreen
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user