mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Force deb postinst/prerm perms to 755 during build
Prevents a random build issue where the file permissions would change sometimes which makes the deb package fail lintian.
This commit is contained in:
@@ -308,6 +308,7 @@ function prepareDebPackage(arch) {
|
||||
function buildDebPackage(arch) {
|
||||
var debArch = getDebPackageArch(arch);
|
||||
return shell.task([
|
||||
'chmod 755 vscode-' + debArch + '/DEBIAN/postinst ' + 'vscode-' + debArch + '/DEBIAN/prerm',
|
||||
'mkdir -p deb',
|
||||
'fakeroot dpkg-deb -b vscode-' + debArch + ' deb/vscode-' + debArch + '.deb',
|
||||
'dpkg-scanpackages deb /dev/null > Packages'
|
||||
|
||||
Reference in New Issue
Block a user