@@ -264,7 +264,7 @@ function getEpochTime() {
264264function 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) {
318318function 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