mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Remove bin command in post install step for deb
This commit is contained in:
@@ -296,6 +296,10 @@ function prepareDebPackage(arch) {
|
||||
.pipe(replace('@@NAME@@', product.applicationName))
|
||||
.pipe(rename('DEBIAN/prerm'))
|
||||
|
||||
var postrm = gulp.src('resources/linux/debian/postrm.template', { base: '.' })
|
||||
.pipe(replace('@@NAME@@', product.applicationName))
|
||||
.pipe(rename('DEBIAN/postrm'))
|
||||
|
||||
var postinst = gulp.src('resources/linux/debian/postinst.template', { base: '.' })
|
||||
.pipe(replace('@@NAME@@', product.applicationName))
|
||||
.pipe(replace('@@ARCHITECTURE@@', debArch))
|
||||
@@ -303,7 +307,7 @@ function prepareDebPackage(arch) {
|
||||
.pipe(replace('@@UPDATEURL@@', product.updateUrl || '@@UPDATEURL@@'))
|
||||
.pipe(rename('DEBIAN/postinst'))
|
||||
|
||||
var all = es.merge(control, postinst, prerm, desktop, icon, code);
|
||||
var all = es.merge(control, postinst, postrm, prerm, desktop, icon, code);
|
||||
|
||||
return all.pipe(symdest(destination));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user