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'