Commit 3d8a2105 authored by HgO's avatar HgO
Browse files

Merge branch '8-remove-old-virtualenv' into 'master'

Removing a folder with the -r option is more effecient

See merge request Neutrinet/neutrinet_ynh!11
parents 55406fb6 e413e661
......@@ -143,7 +143,7 @@ cd $renew_cert_path
if [[ ! -e $renew_cert_python \
|| $($renew_cert_python --version 2>&1 | grep -q "Python 2") ]]; then
rm -f $renew_cert_virtualenv
rm -rf $renew_cert_virtualenv
# We need system site packages otherwise moulinette is broken
python3 -m venv $renew_cert_virtualenv --system-site-packages
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment