bootstrap: python3: Initial commit
This commit is contained in:
15
.config/yadm/bootstrap.d/python3.sh
Executable file
15
.config/yadm/bootstrap.d/python3.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
if ! command -v python3 &> /dev/null; then
|
||||
echo 'Installing python3'
|
||||
sudo apt update
|
||||
sudo apt install python3 -y
|
||||
fi
|
||||
|
||||
echo 'python3 is installed'
|
||||
|
||||
if ! command -v pip3 &> /dev/null; then
|
||||
echo 'Installing pip3'
|
||||
sudo apt update
|
||||
sudo apt install python3-pip -y
|
||||
fi
|
||||
|
||||
echo 'pip3 is installed'
|
||||
Reference in New Issue
Block a user