Properly handle python3-venv on ubuntu

This commit is contained in:
2022-07-01 20:03:36 +02:00
parent 77d9406f2e
commit f219630319

View File

@@ -84,16 +84,14 @@ if ! command -v gcc >/dev/null ; then
printf 'Done\n' printf 'Done\n'
fi fi
if ! python3 -c 'import venv' 2>/dev/null ; then
printf 'Python3 venv module not installed, installing ...\n'
_install python3-venv
printf 'Done\n'
fi
if [[ $NAME == "Arch Linux" ]] ; then if [[ $NAME == "Arch Linux" ]] ; then
_install "ansible" _install "ansible"
fi fi
if [[ $NAME == "Ubuntu" ]] ; then
_install "python3-venv"
fi
cd "$DOTDIR" && make cd "$DOTDIR" && make
# fix permissions of the directory # fix permissions of the directory