From 3d15752604a00c50e9f40f89226a9b5355bd5f28 Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Wed, 31 Jan 2024 10:46:26 -0800 Subject: [PATCH] Use HTTPS for the apt repository (#203833) --- resources/linux/debian/postinst.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/linux/debian/postinst.template b/resources/linux/debian/postinst.template index 9e91489dd14..16acb1481bf 100755 --- a/resources/linux/debian/postinst.template +++ b/resources/linux/debian/postinst.template @@ -51,7 +51,7 @@ if [ "@@NAME@@" != "code-oss" ]; then if [ "$WRITE_SOURCE" -eq "1" ]; then echo "### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. -deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main" > $CODE_SOURCE_PART +deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main" > $CODE_SOURCE_PART # Sourced from https://packages.microsoft.com/keys/microsoft.asc if [ ! -f $CODE_TRUSTED_PART ]; then