don't use do-release-upgrade anymore in WSL

This commit is contained in:
Mylloon 2021-12-30 10:35:54 +01:00
parent f41f84b5b9
commit 12666a0c4a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -65,7 +65,7 @@ fish -c "abbr untgz 'tar -xvzf'"
fish -c "abbr - 'cd -'" fish -c "abbr - 'cd -'"
if grep "WSL" /proc/version > /dev/null; # only for WSL if grep "WSL" /proc/version > /dev/null; # only for WSL
then then
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo do-release-upgrade'" fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt autoremove -y'"
fish -c "abbr d 'explorer.exe .'" fish -c "abbr d 'explorer.exe .'"
else # if regular distro (i.e. Ubuntu) else # if regular distro (i.e. Ubuntu)
fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh'" fish -c "abbr bigupdate 'sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo snap refresh'"