Merge pull request #73 from adbrucker/master

Bug fix: ensure that the Debian control directory has permissions 0755.
This commit is contained in:
Phillip Berndt 2017-08-11 08:52:21 +02:00 committed by GitHub
commit b4343657bd
1 changed files with 1 additions and 0 deletions

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"