Properly handle python3-venv on ubuntu
This commit is contained in:
10
install.sh
10
install.sh
@@ -84,16 +84,14 @@ if ! command -v gcc >/dev/null ; then
|
||||
printf 'Done\n'
|
||||
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
|
||||
_install "ansible"
|
||||
fi
|
||||
|
||||
if [[ $NAME == "Ubuntu" ]] ; then
|
||||
_install "python3-venv"
|
||||
fi
|
||||
|
||||
cd "$DOTDIR" && make
|
||||
|
||||
# fix permissions of the directory
|
||||
|
||||
Reference in New Issue
Block a user