mirror of
https://github.com/phillipberndt/autorandr
synced 2025-03-01 18:21:18 +00:00
Merge pull request #73 from adbrucker/master
Bug fix: ensure that the Debian control directory has permissions 0755.
This commit is contained in:
commit
b4343657bd
@ -44,6 +44,7 @@ make -C "$P/../../../" \
|
|||||||
SIZE=$(du -s $D | awk '{print $1}')
|
SIZE=$(du -s $D | awk '{print $1}')
|
||||||
|
|
||||||
cp -r "$P/debian" "$D/DEBIAN"
|
cp -r "$P/debian" "$D/DEBIAN"
|
||||||
|
chmod 0755 "$D/DEBIAN"
|
||||||
[ -d "$D/etc" ] && (cd $D; find etc -type f) > "$D/DEBIAN/conffiles"
|
[ -d "$D/etc" ] && (cd $D; find etc -type f) > "$D/DEBIAN/conffiles"
|
||||||
sed -i -re "s#Version:.+#Version: $V#" "$D/DEBIAN/control"
|
sed -i -re "s#Version:.+#Version: $V#" "$D/DEBIAN/control"
|
||||||
echo "Installed-Size: $SIZE" >> "$D/DEBIAN/control"
|
echo "Installed-Size: $SIZE" >> "$D/DEBIAN/control"
|
||||||
|
Loading…
Reference in New Issue
Block a user