update npm
This commit is contained in:
parent
a160c989c1
commit
8d5bc87093
2 changed files with 6 additions and 0 deletions
3
arch.sh
3
arch.sh
|
@ -415,6 +415,9 @@ main() {
|
||||||
# Disable NetworkManager-wait-online.service because it add 8s at boot
|
# Disable NetworkManager-wait-online.service because it add 8s at boot
|
||||||
sudo systemctl disable NetworkManager-wait-online.service
|
sudo systemctl disable NetworkManager-wait-online.service
|
||||||
|
|
||||||
|
# === Update NPM ==
|
||||||
|
sudo npm i -g npm@latest
|
||||||
|
|
||||||
printf "\nConcernant le Secure Boot, voici le tuto :"
|
printf "\nConcernant le Secure Boot, voici le tuto :"
|
||||||
echo "https://www.reddit.com/r/archlinux/comments/zo83gb/how_i_setup_secure_boot_for_arch_linux_simple/"
|
echo "https://www.reddit.com/r/archlinux/comments/zo83gb/how_i_setup_secure_boot_for_arch_linux_simple/"
|
||||||
echo -e "\n\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
|
echo -e "\n\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
|
||||||
|
|
|
@ -217,6 +217,9 @@ main() {
|
||||||
sudo mkdir -p /usr/share/sounds/sf2
|
sudo mkdir -p /usr/share/sounds/sf2
|
||||||
sudo ln -s /usr/share/soundfonts/*.sf2 /usr/share/sounds/sf2/
|
sudo ln -s /usr/share/soundfonts/*.sf2 /usr/share/sounds/sf2/
|
||||||
|
|
||||||
|
# === Update NPM ==
|
||||||
|
sudo npm i -g npm@latest
|
||||||
|
|
||||||
# === Clear useless packages
|
# === Clear useless packages
|
||||||
pacman -Qqtd | sudo pacman --noconfirm -Rsn subsystemctl - 2> /dev/null || true
|
pacman -Qqtd | sudo pacman --noconfirm -Rsn subsystemctl - 2> /dev/null || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue