Bug fix: ensure that the Debian control directory has permissions 0755.

This commit is contained in:
Achim D. Brucker 2017-08-11 06:06:39 +01:00
parent ce01390085
commit c7dfe868e7

View File

@ -44,6 +44,7 @@ make -C "$P/../../../" \
SIZE=$(du -s $D | awk '{print $1}')
cp -r "$P/debian" "$D/DEBIAN"
chmod 0755 "$D/DEBIAN"
[ -d "$D/etc" ] && (cd $D; find etc -type f) > "$D/DEBIAN/conffiles"
sed -i -re "s#Version:.+#Version: $V#" "$D/DEBIAN/control"
echo "Installed-Size: $SIZE" >> "$D/DEBIAN/control"