diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2024-08-29 09:39:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2024-08-29 11:21:52 +0000 |
commit | fecb847cee1490daf1fc9d85fe275c4748291102 (patch) | |
tree | 7644a6f81b12ff4020dbe0f81cc2fd5bb58aad14 | |
parent | Using signed-by for local apt sources. (diff) | |
download | compute-tools-fecb847cee1490daf1fc9d85fe275c4748291102.tar.xz compute-tools-fecb847cee1490daf1fc9d85fe275c4748291102.zip |
Also adding comment from local archives apt sources in apt preferences for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/build-scripts/debconf.d/0003-debconf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/share/build-scripts/debconf.d/0003-debconf b/share/build-scripts/debconf.d/0003-debconf index 305f159..dc2859e 100755 --- a/share/build-scripts/debconf.d/0003-debconf +++ b/share/build-scripts/debconf.d/0003-debconf @@ -743,6 +743,15 @@ EOF if [ -n "${PREFERENCES_PACKAGE}" ] || [ -n "${PREFERENCES_PIN}" ] || [ -n "${PREFERENCES_PIN_PRIORITY}" ] then + if [ -n "${COMMENT}" ] + then + +cat > "${DEBCONF_TMPDIR}/apt/$(basename ${LIST} .sources).pref" << EOF +# ${COMMENT} + +EOF + + fi cat >> "${DEBCONF_TMPDIR}/apt/$(basename ${LIST} .sources).pref" << EOF Package: ${PREFERENCES_PACKAGE} |