Update with paru

This commit is contained in:
Thomas Forgione 2023-09-26 10:13:40 +02:00
parent bec76bff3b
commit e9efb02aa0
1 changed files with 13 additions and 5 deletions

View File

@ -195,6 +195,12 @@ update-system() {
fi fi
# Archlinux based systems # Archlinux based systems
command -v paru > /dev/null 2>&1
if [ $? -eq 0 ]; then
paru -Syu --noconfirm
else
command -v yay > /dev/null 2>&1 command -v yay > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
@ -210,6 +216,8 @@ update-system() {
fi fi
fi
# Fedora based systems # Fedora based systems
command -v dnf > /dev/null 2>&1 command -v dnf > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then