Extended debian detection by allowing 'raspbian' and 'idLike=debian'.
This commit is contained in:
parent
03f804f1f3
commit
e7c38d7959
@ -114,7 +114,7 @@ list-ssh-keys() {
|
||||
}
|
||||
|
||||
{{ if eq .chezmoi.os "linux" }}
|
||||
{{ if eq .chezmoi.osRelease.id "debian" }}
|
||||
{{ if (or (eq .chezmoi.osRelease.id "debian" "raspbian") (eq .chezmoi.osRelease.idLike "debian")) }}
|
||||
# Show version of a Debian package
|
||||
debversion() {
|
||||
local pkgname="${1:?packagename required}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user