From 78414abeaaa1c9f4a0e601352cd7fc30948a8cbc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 13 Jul 2021 08:01:33 +0300 Subject: Improved fedora update alias --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index ef526ce..27469b1 100644 --- a/.zshrc +++ b/.zshrc @@ -268,7 +268,9 @@ alias ydlba="youtube-dl --audio-format best -x" alias sdi="sudo dnf install -y" alias sdr="sudo dnf remove -y" alias sda="sudo dnf autoremove -y" -alias sdu="sudo dnf upgrade -y && bash -c 'sudo dnf remove -y dotnet*; sudo dnf install -y compat-openssl10; sudo dnf install -y dotnet-runtime-deps-5.0 dotnet-runtime-5.0 dotnet-sdk-5.0.x86_64 --repo packages-microsoft-com-prod' && sudo dnf autoremove -y && sudo youtube-dl --update && wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash && needs-restarting -r" + # If you're using dotnet from the "packages-microsoft-com-prod" repo, make sure to + # add "exclude=dotnet* aspnetcore* netstandard*" inside the /etc/yum.repos.d/fedora.repo, /etc/yum.repos.d/fedora-updates.repo and potentially /etc/yum.repos.d/fedora33.repo +alias sdu="sudo dnf upgrade -y && sudo dnf autoremove -y && sudo youtube-dl --update && wget -O - https://raw.githubusercontent.com/laurent22/joplin/master/Joplin_install_and_update.sh | bash && needs-restarting -r" alias ds="dnf search" alias dcs="dnf copr search" -- cgit v1.2.3