1
0

Cleanup symbolic links from modules dir

This commit is contained in:
2023-02-15 11:38:02 +00:00
parent d59049e531
commit 9910921e30

View File

@ -489,6 +489,14 @@ func copyKernels(name string) (err error) {
return
}
cmd = exec.Command("find", "~/.out-of-tree/kernels/modules",
"-type", "l", "-delete")
rawOutput, err = cmd.CombinedOutput()
if err != nil {
log.Println(string(rawOutput))
return
}
return
}