)]}'
{"diskimage_builder/elements/ubuntu-minimal/root.d/75-ubuntu-minimal-baseinstall":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"a5965782f3a44b9a6be14a446ebe6c2bbc037b6a","unresolved":true,"context_lines":[{"line_number":27,"context_line":"fi"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"if [ -f ${DIB_APT_SOURCES:-0} ]; then"},{"line_number":30,"context_line":"    sudo cp $DIB_APT_SOURCES $TARGET_ROOT/etc/apt/sources.list"},{"line_number":31,"context_line":"else"},{"line_number":32,"context_line":"    # We should manage this in a betterer way"},{"line_number":33,"context_line":"    # Add \"basic\" release dist"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"bd75507d_622bc1a4","line":30,"updated":"2025-01-29 21:00:43.000000000","message":"Rather than write the file here I think you may be abel to get away with only running this block if DIB_APT_SOURCES is not defined. Then include the apt-sources element in your build and let it write things out. Somthing like:\n\n```\nif [ -z \"$DIB_APT_SOURCES\" ] ; then\n  #old code from lines 29-40 here.\nfi\n```","commit_id":"af545d8035b549389c2c576683ec752da0ea2bb7"}]}
