mirror of https://github.com/mgba-emu/mgba.git
All: Fix sanitize-deb script to set file permissions properly if run as (fake)root
This commit is contained in:
parent
bdc72bb73b
commit
c8a58dbc32
1
CHANGES
1
CHANGES
|
@ -39,6 +39,7 @@ Misc:
|
||||||
- Qt: Fast forward (held) option moved from Other to Emulation menu
|
- Qt: Fast forward (held) option moved from Other to Emulation menu
|
||||||
- All: Add --help flag for command line programs
|
- All: Add --help flag for command line programs
|
||||||
- Qt: Show version info in window title
|
- 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)
|
0.2.1: (2015-05-13)
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
|
|
@ -56,6 +56,8 @@ 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
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue