add fetch dependencies and its cleanup

This commit is contained in:
Ondrej Samohel 2021-05-11 10:37:36 +02:00 committed by Ondrej Samohel
parent b401e0bb54
commit 2bc20c00a2
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
3 changed files with 11 additions and 1 deletions

View file

@ -108,7 +108,7 @@ detect_python () {
install_poetry () {
echo -e "${BIGreen}>>>${RST} Installing Poetry ..."
command -v curl >/dev/null 2>&1 || { echo -e "${BIRed}!!!${RST}${BIYellow} Missing ${RST}${BIBlue}curl${BIYellow} command.${RST}"; return 1; }
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
export PATH="$PATH:$HOME/.poetry/bin"
}