mirror of
https://github.com/xykt/NetQuality.git
synced 2026-01-12 20:15:34 +08:00
fix(archlinux): use paru if available, fallback to yay for AUR dependencies
This commit is contained in:
8
net.sh
8
net.sh
@@ -493,7 +493,13 @@ $usesudo $install_command jq curl ImageMagick mtr iperf3 bc procps-ng libstdc++
|
||||
;;
|
||||
pacman)$usesudo pacman -Sy
|
||||
$usesudo $install_command jq curl imagemagick mtr iperf3 bc procps-ng
|
||||
$usesudo yay -S --noconfirm gcompat
|
||||
if command -v paru >/dev/null 2>&1; then
|
||||
$usesudo paru -S --noconfirm gcompat
|
||||
elif command -v yay >/dev/null 2>&1; then
|
||||
$usesudo yay -S --noconfirm gcompat
|
||||
else
|
||||
echo "Neither paru nor yay found. Please install one of them for AUR support."
|
||||
fi
|
||||
;;
|
||||
apk)$usesudo apk update
|
||||
$usesudo $install_command jq curl imagemagick mtr iperf3 bc procps gcompat libstdc++
|
||||
|
||||
Reference in New Issue
Block a user