fix: 支持aarch64平台软件包iperf v2

This commit is contained in:
TsMask committed 2024-11-15 11:12:17 +08:00
1 parent 74163b84d3
commit 944b2a9e1d
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ func (s *IPerf) Install(meType, neId, version string) error {
depDir = "assets/dependency/iperf3/deb"
// sudo apt remove iperf3 libiperf0 libsctp1 libsctp-dev lksctp-tools
} else if _, err := sshClient.RunCMD("sudo yum --version"); err == nil {
depPkg = "sudo rpm -Uvh --force"
depPkg = "sudo rpm -Uvh --nosignature --reinstall --force"
depDir = "assets/dependency/iperf3/rpm"
// yum remove iperf3 iperf3-help.noarch
} else {