don't use do-release-upgrade anymore in WSL
This commit is contained in:
parent
f41f84b5b9
commit
12666a0c4a
1 changed files with 1 additions and 1 deletions
|
@ -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'"
|
||||||
|
|
Reference in a new issue