summaryrefslogtreecommitdiff
path: root/localbackuppkglists
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2019-06-05 09:38:22 +0200
committerJonas Smedegaard <dr@jones.dk>2019-06-05 09:38:22 +0200
commitd407f23cc8a176aa1c69d7d677670cbe42593958 (patch)
tree7a5a7b10d702a64bb4fdc03dc4ff2cacb976ab64 /localbackuppkglists
parentb6490d0e7bdbdce2bf6e05c6c5204cb1cd060bc7 (diff)
Cover obsolete conffiles.
Diffstat (limited to 'localbackuppkglists')
-rwxr-xr-xlocalbackuppkglists2
1 files changed, 2 insertions, 0 deletions
diff --git a/localbackuppkglists b/localbackuppkglists
index 58bb93b..668f961 100755
--- a/localbackuppkglists
+++ b/localbackuppkglists
@@ -63,6 +63,8 @@ aptitude -F '%p#' search '!~i~Rrecommends:(~i)' > "$tempdir/aptitude-notinstalle
debconf-get-selections > "$tempdir/debconf-questions.txt"
debconf-get-selections --installer > "$tempdir/debconf-questions-di.txt" 2> /dev/null || true
+dpkg-query -W -f='${Conffiles}\n' | grep obsolete$ > "$tempdir/cfg-obsolete.txt" 2> /dev/null || true
+
export LANG="$origlang"
if [ -n "$targetdir" ]; then