From e7c38d7959f92d145b48407d447ab86855c6b87c Mon Sep 17 00:00:00 2001 From: Heavy Date: Fri, 27 Jan 2023 10:50:47 +0100 Subject: [PATCH] Extended debian detection by allowing 'raspbian' and 'idLike=debian'. --- dot_bashrc.d/executable_09.functions.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_bashrc.d/executable_09.functions.tmpl b/dot_bashrc.d/executable_09.functions.tmpl index 2414270..77796a5 100755 --- a/dot_bashrc.d/executable_09.functions.tmpl +++ b/dot_bashrc.d/executable_09.functions.tmpl @@ -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}"