refactoring changes from sequpgrade (endReturn, ...) and some modernizations
This commit is contained in:
@@ -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[*]}
|
||||
}
|
||||
|
Reference in New Issue
Block a user