Fix bugs
This commit is contained in:
@@ -169,6 +169,12 @@ run() {
|
||||
packages+=(npm)
|
||||
fi
|
||||
|
||||
if [ $should_install_rust -eq 1 ]; then
|
||||
packages+=(build-essential)
|
||||
packages+=(pkg-config)
|
||||
packages+=(libssl-dev)
|
||||
fi
|
||||
|
||||
sudo apt install -y ${packages[@]}
|
||||
|
||||
if [ $should_install_dotfiles -eq 1 ]; then
|
||||
@@ -199,6 +205,7 @@ run() {
|
||||
npm config set prefix $HOME/.npmbin
|
||||
npm install -g npm
|
||||
sudo apt purge npm -y
|
||||
sudo apt autoremove -y
|
||||
fi
|
||||
|
||||
if [ $should_install_neovim -eq 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user