This commit is contained in:
Wryn (yage) Wagner 2022-08-18 20:34:10 -06:00
parent 47bd85119b
commit eca968d614

View File

@ -1,15 +1,15 @@
##################################################################### #####################################################################
SETUP__OS() { SETUP__OS() {
OS__MAKE_REQUIRED_RESOURCES || return 1
[ $CI ] && { __STATUS 'detected CI; skipping os setup'; return 0; } [ $CI ] && { __STATUS 'detected CI; skipping os setup'; return 0; }
__GETSUDO __GETSUDO
local OS_NAME=$(OS__GET_OS) local OS_NAME=$(OS__GET_OS)
[ ! $OS_NAME ] && __ABORT [ ! $OS_NAME ] && __ABORT
OS__INSTALL_SOURCE_DEPENDENCIES || return 1 OS__INSTALL_SOURCE_DEPENDENCIES || return 2
OS__INSTALL_MANAGED_DEPENDENCIES || return 2 OS__INSTALL_MANAGED_DEPENDENCIES || return 3
OS__MAKE_REQUIRED_RESOURCES || return 3
} }
OS__GET_OS() { OS__GET_OS() {