From db6f2c3a53b72f636318edcf4bab6d116af0fce6 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 4 Apr 2016 16:24:37 -0700 Subject: [PATCH] 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. --- build/gulpfile.vscode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index caa5da4cb09..b0f3913b177 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -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'