All: Fix sanitize-deb script to set file permissions properly if run as (fake)root

This commit is contained in:
Jeffrey Pfau 2015-05-23 23:48:07 -07:00
parent bdc72bb73b
commit c8a58dbc32
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,7 @@ Misc:
- Qt: Fast forward (held) option moved from Other to Emulation menu
- All: Add --help flag for command line programs
- Qt: Show version info in window title
- All: Fix sanitize-deb script to set file permissions properly if run as (fake)root
0.2.1: (2015-05-13)
Bugfixes:

View File

@ -56,6 +56,8 @@ 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
dpkg-deb -b deb-temp $DEB
rm -rf deb-temp
shift