All: Fix deb modes in sanitize-deb

This commit is contained in:
Jeffrey Pfau 2015-07-28 01:15:48 -07:00
parent 7431a5f556
commit 54bff2a1ca

View File

@ -56,8 +56,7 @@ while [ $# -gt 0 ]; do
sed -i~ "s/,$//g" deb-temp/DEBIAN/control
sed -i~ "/^[^:]*: $/d" deb-temp/DEBIAN/control
rm deb-temp/DEBIAN/control~
chown -R 0:0 deb-temp
chmod 600 deb-temp/DEBIAN/md5sums
chown -R root:root deb-temp
dpkg-deb -b deb-temp $DEB
rm -rf deb-temp
shift