From 8a561e165df4cca230278b138365a3525502f07d Mon Sep 17 00:00:00 2001 From: Peter Squicciarini Date: Fri, 21 Sep 2018 20:26:52 -0400 Subject: [PATCH] Don't let MS add their apt repo to the system (#24) Fixes #23 --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sh b/build.sh index f141515..6ab6be7 100755 --- a/build.sh +++ b/build.sh @@ -11,6 +11,11 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then npx gulp vscode-darwin-min else + # microsoft adds their apt repo to sources + # unless the app name is code-oss + # as we are renaming the application to vscodium + # we need to edit a line in the post install template + sed -i "s/code-oss/vscodium/" resources/linux/debian/postinst.template npx gulp vscode-linux-x64-min npx gulp vscode-linux-x64-build-deb npx gulp vscode-linux-x64-build-rpm