[Git-commits] [grml/grml-live] d6d374: scripts/GRMLBASE/95-package-information: get non-f...

Michael Prokop noreply at github.com
Thu Dec 19 13:41:58 CET 2024


  Branch: refs/heads/mika/non-free-info
  Home:   https://github.com/grml/grml-live
  Commit: d6d3743d42a08ebc4e5a3ae94787fd168cf489c7
      https://github.com/grml/grml-live/commit/d6d3743d42a08ebc4e5a3ae94787fd168cf489c7
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M etc/grml/fai/config/scripts/GRMLBASE/95-package-information

  Log Message:
  -----------
  scripts/GRMLBASE/95-package-information: get non-free info without aptitude

We ship aptitude only via GRML_SMALL, but not on GRML_SMALL.  As a
result, the nonfree-licenses.txt file was missing on all grml-small
flavours.  Instead, switch from aptitude to usage of `apt-cache show` to
get list of non-free packages.

Related changes:

* simplify code flow logic (no need for else within if ... exit)
* fix code indention
* run script under pipefail to properly fail on errors



To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-live/settings/notifications


More information about the Git-commits mailing list