Skip to content

Commit 496b804

Browse files
committed
Prime postinst for apt repo
1 parent 2d074d8 commit 496b804

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

resources/linux/debian/postinst.template

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ if [ "@@NAME@@" != "code-oss" ]; then
3030

3131
APT_DIR=$(get_apt_config_value Dir)
3232
APT_ETC=$APT_DIR$(get_apt_config_value Dir::Etc)
33-
APT_SOURCE_PARTS=$APT_ETC$(get_apt_config_value Dir::Etc::sourceparts)
34-
CODE_SOURCE_LIST=$APT_SOURCE_PARTS/visual-studio-@@NAME@@.list
33+
APT_SOURCE_PARTS=$APT_ETC/$(get_apt_config_value Dir::Etc::sourceparts)
34+
CODE_SOURCE_LIST=$APT_SOURCE_PARTS/vscode.list
3535

3636
rm -f $CODE_SOURCE_LIST
37-
# TODO: #2973: Enable once the apt repository is signed
38-
#echo "deb @@UPDATEURL@@/api/deb/@@QUALITY@@/@@ARCHITECTURE@@/ /" > $CODE_SOURCE_LIST
37+
# echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > $CODE_SOURCE_LIST
3938
fi

0 commit comments

Comments
 (0)