Add a separate script for installing pyenv

This commit is contained in:
Manuel Thalmann 2023-04-02 04:13:21 +02:00
parent c66f5c6175
commit 35a2c5cae8
4 changed files with 3 additions and 13 deletions

View file

@ -1,5 +1,3 @@
#!/bin/bash
pushd "${BASH_SOURCE%/*}" > /dev/null;
source "./setup.sh";
source "./pyenv.sh";
popd > /dev/null;
sudo apt install -y python3 python-is-python3 python3-pip;
sudo pip install pipenv;

View file

@ -1,9 +0,0 @@
#!/bin/bash
# Elevate script
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE";
else
apt install -y python3 python-is-python3 python3-pip;
pip install pipenv;
fi

View file

@ -22,6 +22,7 @@ source "../../Debian/Software/VSCodium/install.sh";
source "../../Debian/Software/Visual Studio Code/install.sh";
source "../../Common/Software/Node.js/install.sh";
source "../../Debian/Software/Python/install.sh";
source "../../Common/Software/pyenv/install.sh";
source "../../Common/Software/tea/install.sh";
source "../../Common/Software/Godot/install.sh";
source "../../Debian/Software/Virtual Machine Manager/install.sh";