Update with paru
This commit is contained in:
parent
bec76bff3b
commit
e9efb02aa0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue