Skip to content

Commit 6195d54

Browse files
committed
change 'libnuma' to 'libnuma1'
1 parent 56b218d commit 6195d54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/installers/installer_foolish.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (this *FoolishInstaller) InstallFromFile(xzFilePath string, targetDir strin
8888
// ubuntu apt
8989
aptGetExe, err := exec.LookPath("apt-get")
9090
if err == nil && len(aptGetExe) > 0 {
91-
for _, lib := range []string{"libaio1", "libncurses5", "libnuma"} {
91+
for _, lib := range []string{"libaio1", "libncurses5", "libnuma1"} {
9292
this.log("checking " + lib + " ...")
9393
var cmd = utils.NewCmd(aptGetExe, "-y", "install", lib)
9494
cmd.WithStderr()
@@ -103,7 +103,7 @@ func (this *FoolishInstaller) InstallFromFile(xzFilePath string, targetDir strin
103103
}
104104

105105
if err != nil {
106-
if lib == "libnuma" {
106+
if lib == "libnuma1" {
107107
err = nil
108108
} else {
109109
return errors.New("install " + lib + " failed: " + cmd.Stderr())

0 commit comments

Comments
 (0)