Utilisation de full-upgrade 🌈

This commit is contained in:
Mylloon 2022-03-30 22:47:38 +02:00
parent 2811f85d85
commit f4e501c731
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 5 additions and 11 deletions

View file

@ -8,9 +8,7 @@ then
which curl &> /dev/null || sudo apt install apt-transport-https curl -y # install curl (along with apt-transport-https) if not already installed
# == Upgrade and clean already installed packages ==
sudo apt upgrade -y
sudo apt autoremove -y
sudo apt full-upgrade -y
# == Basic dev ==
sudo apt install build-essential git -y
@ -74,7 +72,7 @@ then
fish -c "abbr - 'cd -'"
fish -c "abbr cat 'batcat'"
fish -c "abbr nano 'micro'"
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh && tldr --update'"
fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo snap refresh && tldr --update'"
fish -c "abbr d 'nautilus . -w &> /dev/null & disown'"
fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'"
# Remove fish icon

10
wsl.sh
View file

@ -6,9 +6,7 @@ then
which curl &> /dev/null || sudo apt install apt-transport-https curl -y # install curl (along with apt-transport-https) if not already installed
# == Upgrade and clean already installed packages ==
sudo apt upgrade -y
sudo apt autoremove -y
sudo apt full-upgrade -y
# == Basic dev ==
sudo apt install build-essential git -y
@ -72,7 +70,7 @@ then
fish -c "abbr - 'cd -'"
fish -c "abbr cat 'batcat'"
fish -c "abbr nano 'micro'"
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt autoremove -y && tldr --update'"
fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && tldr --update'"
# == GL4D ==
# Installing depedencies
@ -160,9 +158,7 @@ then
# Make the update
sudo apt update
sudo apt upgrade
sudo apt full-upgrade
sudo apt autoremove
sudo apt full-upgrade -y
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
else