From: Frank Brehm Date: Thu, 3 Feb 2022 16:17:00 +0000 (+0100) Subject: Fixing bin/update-env.sh because of virtualenv X-Git-Tag: 1.5.16^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=715ae4ddfd7d37c4d3655ab416ae912fd5dad17c;p=pixelpark%2Fcreate-terraform.git Fixing bin/update-env.sh because of virtualenv --- diff --git a/bin/update-env.sh b/bin/update-env.sh index 2d3d601..5cacb0a 100755 --- a/bin/update-env.sh +++ b/bin/update-env.sh @@ -246,13 +246,6 @@ get_options() { exit 1 fi - if type -t virtualenv >/dev/null ; then - : - else - error "Command '${RED}virtualenv${NORMAL}' not found, please install package '${YELLOW}python-virtualenv${NORMAL}' or appropriate." - exit 6 - fi - if type -t msgfmt >/dev/null ; then : else @@ -291,7 +284,7 @@ init_venv() { empty_line info "Found '${GREEN}${python}${NORMAL}'." empty_line - virtualenv --python="${python}" venv + "${python}" -m venv venv break fi done