chore: move nested function
Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
@@ -196,8 +196,6 @@ function compare_crowsnest_versions() {
|
|||||||
echo "${versions}"
|
echo "${versions}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_crowsnest() {
|
|
||||||
## Helper Func
|
|
||||||
function install_crowsnest_dependencies() {
|
function install_crowsnest_dependencies() {
|
||||||
local packages
|
local packages
|
||||||
local install_script="${CROWSNEST_DIR}/tools/install.sh"
|
local install_script="${CROWSNEST_DIR}/tools/install.sh"
|
||||||
@@ -227,6 +225,7 @@ function update_crowsnest() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_crowsnest() {
|
||||||
do_action_service "stop" "crowsnest"
|
do_action_service "stop" "crowsnest"
|
||||||
|
|
||||||
if [[ ! -d ${CROWSNEST_DIR} ]]; then
|
if [[ ! -d ${CROWSNEST_DIR} ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user