added prints
This commit is contained in:
1 parent
b2305a992b
commit
0474bb1c27
6 files changed
+21
-5
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ func DTModel() string {
|
||||
func DTCompatible() []string {
|
||||
mu.Lock()
|
||||
defer mu.Unlock()
|
||||
fmt.Println("\n\n\n\n\tdidier: Deep in the dependencies...\n\n\n\n\n")
|
||||
fmt.Println("\n\n\n\n\tdidier: Deep in the dependencies...")
|
||||
|
||||
if dtCompatible == nil {
|
||||
dtCompatible = []string{}
|
||||
|
||||
+7
@@ -60,6 +60,13 @@ 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