Last active
March 9, 2020 16:09
-
-
Save drc288/7393d97373f8e85da46fb056960ef286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This scrypt update all dependencies and install pip install pip | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
else | |
apt-get update | |
apt-get install python3-pip -y | |
pip3 install typer | |
exit 0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment