[Git-commits] [grml/grml-live] cb6179: DEBORPHAN/10-whitelist: rework fix for broken keep...

Michael Prokop noreply at github.com
Wed May 20 16:21:52 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: cb6179feeefcd3aed4b3812d54f734a8efe6179b
      https://github.com/grml/grml-live/commit/cb6179feeefcd3aed4b3812d54f734a8efe6179b
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-05-20 (Wed, 20 May 2020)

  Changed paths:
    M etc/grml/fai/config/scripts/DEBORPHAN/10-whitelist

  Log Message:
  -----------
  DEBORPHAN/10-whitelist: rework fix for broken keep file handling of deborphan

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).




More information about the Git-commits mailing list