summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-07-13 08:01:33 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-07-13 08:01:33 +0300
commit78414abeaaa1c9f4a0e601352cd7fc30948a8cbc (patch)
treea3b80971ef9e686be67a8404d3555b4908bbce0b
parentd27154a17afc7c0c40148848195814adcc06be67 (diff)
downloaddotfiles-78414abeaaa1c9f4a0e601352cd7fc30948a8cbc.tar
dotfiles-78414abeaaa1c9f4a0e601352cd7fc30948a8cbc.tar.gz
dotfiles-78414abeaaa1c9f4a0e601352cd7fc30948a8cbc.zip
Improved fedora update alias
-rw-r--r--.zshrc4
1 files changed, 3 insertions, 1 deletions
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"