DEBORPHAN/10-whitelist: rework fix for broken keep file handling of deborphan
authorMichael Prokop <mika@grml.org>
Wed, 20 May 2020 14:10:29 +0000 (16:10 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 20 May 2020 14:19:42 +0000 (16:19 +0200)
An empty file doesn't help either, so we need at least a file
with a newline. Given that we're already touching the file
based on its hard-coded filename, let's just append the package
in question and avoid invoking deborphan at all. Especially
as deborphan returns with failure when a package is already
listed:

| deborphan: dnsutils: duplicate entry.

We need to handle this anyway, if grml-live is re-executed on
an existing system (which isn't unusual).


No differences found