diff options
| author | Guillem Jover <guillem@debian.org> | 2022-03-20 12:08:35 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-05-19 16:02:55 +0000 |
| commit | 6eb1c4cff637caad5713dd3fb569dc460b59a579 (patch) | |
| tree | 2495bab1314e8161689f8fef69b7fbbe7a502bb8 /dselect | |
| parent | 372d90ec8a395b77f2aec94174054021231e695d (diff) | |
dselect: Use qw() instead of lists of quoted strings
Diffstat (limited to 'dselect')
| -rwxr-xr-x | dselect/setup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dselect/setup b/dselect/setup index 3d4bc6309..cea4b9caf 100755 --- a/dselect/setup +++ b/dselect/setup @@ -31,10 +31,10 @@ my $config_file = '/etc/apt/sources.list'; my $boldon = color('bold'); my $boldoff = color('reset'); -my @known_types = ('deb'); -my @known_access = ('https', 'http', 'ftp', 'file'); -my @typical_distributions = ('stable', 'unstable', 'testing'); -my @typical_components = ('main', 'contrib', 'non-free', 'non-free-firmware'); +my @known_types = qw(deb); +my @known_access = qw(https http ftp file); +my @typical_distributions = qw(stable unstable testing); +my @typical_components = qw(main contrib non-free non-free-firmware); my %known_access = map {($_,$_)} @known_access; my %typical_distributions = map {($_,$_)} @typical_distributions; |
