summaryrefslogtreecommitdiff
path: root/dselect/setup
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2022-03-20 11:45:31 +0100
committerJulian Andres Klode <jak@debian.org>2025-05-19 16:02:55 +0000
commitb00a59c0b953bf7688fc60a976bac74194886a0c (patch)
tree85a545ba415c295c2761a542c6baa9e79123ba90 /dselect/setup
parent49e0eec055c5feca1ff7289c0fc59306a3a67a3d (diff)
dselect: Add https support
Recognize the method and update the documentation and prompts.
Diffstat (limited to 'dselect/setup')
-rwxr-xr-xdselect/setup5
1 files changed, 3 insertions, 2 deletions
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";