Compare commits
No commits in common. "d60eb959202801f66ba7943c558866dfcc6ef4a3" and "5b5acb0ba31b0f3b24668e0fadac8b9d7fb5c61a" have entirely different histories.
d60eb95920
...
5b5acb0ba3
@ -113,20 +113,12 @@ list-ssh-keys() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
{{- if (or (eq .chezmoi.osRelease.id "debian") (eq .chezmoi.osRelease.id "linuxmint")) }}
|
{{- if eq .chezmoi.osRelease.id "debian" }}
|
||||||
# Show version of a Debian package
|
|
||||||
debversion() {
|
debversion() {
|
||||||
local pkgname="${1:?packagename required}"
|
local pkgname="${1:?packagename required}"
|
||||||
dpkg -s $pkgname | grep Version
|
dpkg -s $pkgname | grep Version
|
||||||
}
|
}
|
||||||
|
|
||||||
# Show files of a Debian package
|
|
||||||
deblist() {
|
|
||||||
local pkgname="${1:?packagenamme required}"
|
|
||||||
dpkg-query -L $pkgname
|
|
||||||
}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PATH=$PATH:$HOME/bin
|
PATH=$PATH:$HOME/bin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user