We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc21c7 commit b336829Copy full SHA for b336829
util/pkg/distributions/distributions.go
@@ -68,6 +68,11 @@ func (d *Distribution) IsDebianFamily() bool {
68
return d.packageFormat == "deb"
69
}
70
71
+// IsDebian returns true if this distribution is Debian
72
+func (d *Distribution) IsDebian() bool {
73
+ return d.project == "debian"
74
+}
75
+
76
// IsUbuntu returns true if this distribution is Ubuntu (but not debian)
77
func (d *Distribution) IsUbuntu() bool {
78
return d.project == "ubuntu"
0 commit comments