Create ~/Downloads directory if needed

This commit is contained in:
Cyryl Płotnicki 2016-11-25 12:55:47 +01:00
parent fd5cbd9620
commit ee1684f4c8

View file

@ -29,10 +29,11 @@ if [[ -z $NO_SYSTEMCTL ]]; then
sudo systemctl list-timers "*dnf-*" sudo systemctl list-timers "*dnf-*"
fi fi
mkdir -p ~/Downloads
cd ~/Downloads cd ~/Downloads
rm -f "*code*.rpm" rm -f "*code*.rpm"
aria2c "https://go.microsoft.com/fwlink/?LinkID=760867" aria2c "https://go.microsoft.com/fwlink/?LinkID=760867"
sudo dnf install "*code*.rpm" sudo dnf -y install "*code*.rpm"
code --install-extension cssho.vscode-svgviewer code --install-extension cssho.vscode-svgviewer
code --install-extension donjayamanne.python code --install-extension donjayamanne.python
code --install-extension saviorisdead.RustyCode code --install-extension saviorisdead.RustyCode