[Git-commits] [grml/grml-live] a5016c: scripts/GRMLBASE/95-package-information: get non-f...
Michael Prokop
noreply at github.com
Thu Dec 19 13:33:02 CET 2024
Branch: refs/heads/mika/non-free-info
Home: https://github.com/grml/grml-live
Commit: a5016c8520bbd7b24d76e6574aeea35a36ae1c7c
https://github.com/grml/grml-live/commit/a5016c8520bbd7b24d76e6574aeea35a36ae1c7c
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 also without aptitude
We ship aptitude only via GRML_SMALL but not on GRML_SMALL, therefore
the nonfree-licenses.txt file is missing on all grml-small flavours.
So if aptitude is not available, fall back to `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