ok
This commit is contained in:
parent
47bd85119b
commit
eca968d614
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user