Utilisation de full-upgrade 🌈
This commit is contained in:
parent
2811f85d85
commit
f4e501c731
2 changed files with 5 additions and 11 deletions
|
@ -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
10
wsl.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue