refactoring changes from sequpgrade (endReturn, ...) and some modernizations

This commit is contained in:
2023-01-03 15:49:08 +01:00
parent 215135e8aa
commit 3c22d5729f
69 changed files with 553 additions and 654 deletions

View File

@@ -48,7 +48,7 @@ step_2() {
fi
if [ ! -e "$CALWEB_VENV_ROOT/bin" ]; then
exe python3 -m venv "$CALWEB_VENV_ROOT"
endReturn -o $? "Creating virtual environment failed"
endReturn "Creating virtual environment failed"
exe chown -R ${CALWEB_USER}: "$CALWEB_BASE"
else
warning "Virtual env. $CALWEB_VENV_ROOT already exists"
@@ -61,7 +61,7 @@ step_3() {
exe ${CALWEB_VENV_ROOT}/bin/pip install $toolPipName
}
step_4_info() {
step_4_info() {
echo "Install $toolName features"
echoinfo ${toolFeatures[*]}
}