fix: restore Filename: prefix in CI apt Packages generation (#274)
Same sed bug as fixed on gh-pages: was stripping 'Filename: ' label entirely, leaving a bare path that apt cannot use to download packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
03fe20b074
commit
19a3ec2edd
|
|
@ -352,7 +352,7 @@ jobs:
|
|||
|
||||
# Generate Packages file (paths relative to repo root)
|
||||
dpkg-scanpackages --multiversion "${PAGES_DIR}/pool/v${MAJOR}" \
|
||||
| sed "s|^Filename: ${PAGES_DIR}/||" \
|
||||
| sed "s|^Filename: ${PAGES_DIR}/|Filename: |" \
|
||||
> "${PAGES_DIR}/dists/${DIST}/main/binary-all/Packages"
|
||||
gzip -kf "${PAGES_DIR}/dists/${DIST}/main/binary-all/Packages"
|
||||
|
||||
|
|
@ -432,7 +432,7 @@ jobs:
|
|||
mkdir -p "${PAGES_DIR}/dists/${DIST}/main/binary-arm64"
|
||||
|
||||
dpkg-scanpackages --multiversion "${PAGES_DIR}/pool/testing" \
|
||||
| sed "s|^Filename: ${PAGES_DIR}/||" \
|
||||
| sed "s|^Filename: ${PAGES_DIR}/|Filename: |" \
|
||||
> "${PAGES_DIR}/dists/${DIST}/main/binary-all/Packages"
|
||||
gzip -kf "${PAGES_DIR}/dists/${DIST}/main/binary-all/Packages"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue