Archived
1
0
Fork 0

Add update_platform functionality for fedora

This commit is contained in:
Christoph Heiss 2019-07-02 15:58:29 +02:00
parent 1e30235927
commit 7a1a9b7974
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -5,11 +5,12 @@
alias open=xdg-open
update_platform() {
if [ -f /etc/arch-release ]; then
yay -Syu --sudoloop --noconfirm --nodiffmenu --noeditmenu --noupgrademenu
yay -Sc --noconfirm
elif [ -f /etc/fedora-release ]; then
sudo dnf upgrade --assumeyes
sudo dnf clean packages
fi
}