feat: KIAUH v4.0.0 #191

Merged
dw-0 merged 453 commits from v4-rc into master 2022-05-29 20:11:16 +02:00
Showing only changes of commit 2d696e8336 - Show all commits

View File

@@ -149,8 +149,10 @@ function install_moonraker_dependencies(){
function create_moonraker_virtualenv(){
status_msg "Installing python virtual environment..."
### always create a clean virtualenv
[ -d "${MOONRAKER_ENV}" ] && rm -rf "${MOONRAKER_ENV}"
[[ -d ${MOONRAKER_ENV} ]] && rm -rf "${MOONRAKER_ENV}"
virtualenv -p /usr/bin/python3 "${MOONRAKER_ENV}"
### upgrade pip
"${MOONRAKER_ENV}"/bin/pip install -U pip
"${MOONRAKER_ENV}"/bin/pip install -r "${MOONRAKER_DIR}/scripts/moonraker-requirements.txt"
}