build: chmod 644 the .deb so apt's _apt user can read it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mARTin-B78 2026-06-09 16:07:51 +02:00
parent 6534284c56
commit 06167a1e6d

View File

@ -104,4 +104,5 @@ chmod 755 "$ROOT/DEBIAN/postrm"
mkdir -p "$OUT_DIR"
DEB="$OUT_DIR/${PKG}_${VER}_${ARCH}.deb"
fakeroot dpkg-deb --build --root-owner-group "$ROOT" "$DEB" >/dev/null
chmod 644 "$DEB"
echo "==> Built: $DEB ($(du -h "$DEB" | cut -f1))"