From b00a59c0b953bf7688fc60a976bac74194886a0c Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 20 Mar 2022 11:45:31 +0100 Subject: dselect: Add https support Recognize the method and update the documentation and prompts. --- dselect/setup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dselect/setup') diff --git a/dselect/setup b/dselect/setup index 522362e68..6b816ccfe 100755 --- a/dselect/setup +++ b/dselect/setup @@ -29,7 +29,7 @@ my $boldon=`setterm -bold on`; my $boldoff=`setterm -bold off`; my @known_types = ('deb'); -my @known_access = ('http', 'ftp', 'file'); +my @known_access = ('https', 'http', 'ftp', 'file'); my @typical_distributions = ('stable', 'unstable', 'testing'); my @typical_components = ('main', 'contrib', 'non-free', 'non-free-firmware'); @@ -118,7 +118,7 @@ sub get_source { } $type = 'deb'; - $urn = "http://deb.debian.org/debian" unless $urn; + $urn = "https://deb.debian.org/debian" unless $urn; $distribution = "stable" unless $distribution; $components = "main contrib non-free non-free-firmware" unless $components; @@ -232,6 +232,7 @@ sub get_sources { print " For example:\n"; print " file:/mnt/debian,\n"; print " ftp://ftp.example.org/debian,\n"; + print " https://deb.debian.org/debian,\n"; print " http://deb.debian.org/debian,\n"; # print " and the special mirror scheme,\n"; # print " mirror:http://www.debian.org/archivemirrors \n"; -- cgit v1.2.3-70-g09d2