Fix few bugs

This commit is contained in:
Thomas Forgione 2020-02-19 11:47:31 +01:00
parent 9833101a8d
commit e1cb4a7421
1 changed files with 4 additions and 4 deletions

View File

@ -371,6 +371,7 @@ configure_rust() {
fi fi
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y
export PATH=$HOME/.cargo/bin:$PATH
cargo_update_installed=1 cargo_update_installed=1
yes_no_ask "do you wish to install cargo-update? it allows to update package automatically" yes_no_ask "do you wish to install cargo-update? it allows to update package automatically"
@ -396,11 +397,11 @@ configure_node() {
return return
fi fi
install nodejs install nodejs npm
install npm
mkdir ~/.npmbin mkdir ~/.npmbin
npm config set prefix ~/.npmbin npm config set prefix ~/.npmbin
npm install -g npm
remove npm remove npm
} }
@ -412,8 +413,7 @@ configure_awesome() {
return return
fi fi
install awesome install awesome acpi
install acpi
git_clone https://gitea.tforgione.fr/tforgione/awesome ~/.config/awesome git_clone https://gitea.tforgione.fr/tforgione/awesome ~/.config/awesome
git_clone https://github.com/horst3180/arc-icon-theme --depth 1 && cd arc-icon-theme git_clone https://github.com/horst3180/arc-icon-theme --depth 1 && cd arc-icon-theme