Utilisation de full-upgrade

This commit is contained in:
Mylloon 2022-04-11 17:58:09 +02:00
parent dc2e5a1f29
commit b2b341932b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ then
which wget &> /dev/null || sudo apt install wget -y # install wget if not already installed
# === Upgrade packages ==
sudo apt upgrade -y
sudo apt full-upgrade -y
# === Basic dev ==
sudo apt install build-essential valgrind -y
@ -76,7 +76,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 apt autoremove -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

4
wsl.sh
View file

@ -6,7 +6,7 @@ then
sudo sed -i "s/focal/impish/g" /etc/apt/sources.list
sudo sed -i "s/focal/impish/g" /etc/apt/sources.list.d/*.list
sudo apt update
sudo apt upgrade -y
sudo apt full-upgrade -y
# === Remove SU password ==
sudo sed -i "26s#.*#%sudo ALL=(ALL:ALL) NOPASSWD: ALL#" /etc/sudoers
@ -83,7 +83,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 && tldr --update'"
fish -c "abbr bigupdate 'sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && tldr --update'"
fish -c "abbr d 'explorer.exe .'"
fish -c "abbr tlmgr 'sudo \$(which tlmgr)'"