Added debversion function if os id is "linuxmint".
This commit is contained in:
parent
5b5acb0ba3
commit
98dd91f5f5
@ -113,7 +113,7 @@ list-ssh-keys() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
{{- if eq .chezmoi.osRelease.id "debian" }}
|
{{- if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "linuxmint")) }}
|
||||||
debversion() {
|
debversion() {
|
||||||
local pkgname="${1:?packagename required}"
|
local pkgname="${1:?packagename required}"
|
||||||
dpkg -s $pkgname | grep Version
|
dpkg -s $pkgname | grep Version
|
||||||
@ -121,4 +121,5 @@ debversion() {
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PATH=$PATH:$HOME/bin
|
PATH=$PATH:$HOME/bin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user