Skip to content

Commit b564e14

Browse files
committed
Rename deb/rpms from vscode -> code
Matches the name of the command Fixes microsoft#6547
1 parent 3498aaa commit b564e14

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

build/gulpfile.vscode.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function getEpochTime() {
264264
function prepareDebPackage(arch) {
265265
var binaryDir = '../VSCode-linux-' + arch;
266266
var debArch = getDebPackageArch(arch);
267-
var destination = '.build/linux/deb/' + debArch + '/vscode-' + debArch;
267+
var destination = '.build/linux/deb/' + debArch + '/code-' + debArch;
268268
var packageRevision = getEpochTime();
269269

270270
return function () {
@@ -318,9 +318,9 @@ function prepareDebPackage(arch) {
318318
function buildDebPackage(arch) {
319319
var debArch = getDebPackageArch(arch);
320320
return shell.task([
321-
'chmod 755 vscode-' + debArch + '/DEBIAN/postinst ' + 'vscode-' + debArch + '/DEBIAN/prerm',
321+
'chmod 755 code-' + debArch + '/DEBIAN/postinst ' + 'code-' + debArch + '/DEBIAN/prerm',
322322
'mkdir -p deb',
323-
'fakeroot dpkg-deb -b vscode-' + debArch + ' deb/vscode-' + debArch + '.deb',
323+
'fakeroot dpkg-deb -b code-' + debArch + ' deb/code-' + debArch + '.deb',
324324
'dpkg-scanpackages deb /dev/null > Packages'
325325
], { cwd: '.build/linux/deb/' + debArch});
326326
}
@@ -378,7 +378,7 @@ function buildRpmPackage(arch) {
378378
return shell.task([
379379
'mkdir -p ' + destination,
380380
'HOME="$(pwd)/' + destination + '" fakeroot rpmbuild -bb ' + rpmBuildPath + '/SPECS/' + product.applicationName + '.spec --target=' + rpmArch,
381-
'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/vscode-' + rpmArch + '.rpm',
381+
'cp "' + rpmOut + '/$(ls ' + rpmOut + ')" ' + destination + '/code-' + rpmArch + '.rpm',
382382
'createrepo ' + destination
383383
]);
384384
}

0 commit comments

Comments
 (0)