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
1 changed files with 1 additions and 2 deletions

View File

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