Add update_platform functionality for fedora
This commit is contained in:
parent
1e30235927
commit
7a1a9b7974
|
@ -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
|
||||
}
|
||||
|
|
Reference in a new issue