updated dependencies
This commit is contained in:
1 parent
2729a727dc
commit
fb5f6a0d85
9 files changed
+52
-95
No files matched your search
-2
@@ -6,7 +6,6 @@ package distro
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
@@ -31,7 +30,6 @@ func DTModel() string {
|
||||
func DTCompatible() []string {
|
||||
mu.Lock()
|
||||
defer mu.Unlock()
|
||||
fmt.Println("\n\n\n\n\tdidier: Deep in the dependencies...")
|
||||
|
||||
if dtCompatible == nil {
|
||||
dtCompatible = []string{}
|
||||
|
||||
-7
@@ -60,13 +60,6 @@ func IsRaspbian() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IsNixos returns true if running on a NixOs distribution.
|
||||
//
|
||||
// https://nixos.org/
|
||||
func IsNixos() bool {
|
||||
return isLinux && OSRelease()["ID"] == "nixos"
|
||||
}
|
||||
|
||||
// IsUbuntu returns true if running on an Ubuntu derived distribution.
|
||||
//
|
||||
// https://ubuntu.com/
|
||||
|
||||
Reference in new issue
Block a user