From e7553325f90210385857c749c1128afcbbc3edca Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 27 Aug 2018 10:38:06 +0200 Subject: [PATCH] Update debfunctions.zsh --- debfunctions.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debfunctions.zsh b/debfunctions.zsh index aa20863..5e1fe43 100644 --- a/debfunctions.zsh +++ b/debfunctions.zsh @@ -1 +1,2 @@ -function debchangedconfigs () { dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK$/{print $1}' | sort } +# this is ripped off serverfault https://serverfault.com/a/90401 +function debchangedconfigs () { dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK$/{print $1}' | sort; }