From 496b804f8ae5a95e899406fcc67f6c1896894c91 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Wed, 15 Feb 2017 22:50:02 -0800 Subject: [PATCH] Prime postinst for apt repo --- resources/linux/debian/postinst.template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/linux/debian/postinst.template b/resources/linux/debian/postinst.template index c09d4c6123ab7..e41ccb92f0f58 100755 --- a/resources/linux/debian/postinst.template +++ b/resources/linux/debian/postinst.template @@ -30,10 +30,9 @@ if [ "@@NAME@@" != "code-oss" ]; then APT_DIR=$(get_apt_config_value Dir) APT_ETC=$APT_DIR$(get_apt_config_value Dir::Etc) - APT_SOURCE_PARTS=$APT_ETC$(get_apt_config_value Dir::Etc::sourceparts) - CODE_SOURCE_LIST=$APT_SOURCE_PARTS/visual-studio-@@NAME@@.list + APT_SOURCE_PARTS=$APT_ETC/$(get_apt_config_value Dir::Etc::sourceparts) + CODE_SOURCE_LIST=$APT_SOURCE_PARTS/vscode.list rm -f $CODE_SOURCE_LIST - # TODO: #2973: Enable once the apt repository is signed - #echo "deb @@UPDATEURL@@/api/deb/@@QUALITY@@/@@ARCHITECTURE@@/ /" > $CODE_SOURCE_LIST + # echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > $CODE_SOURCE_LIST fi \ No newline at end of file