From 648eb867a0fd50b1b7f20f3f94ac594e3625e314 Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Fri, 4 Feb 2022 07:51:50 +0100 Subject: [PATCH] mirror-nixos-branch: remove special handling for old releases --- mirror-nixos-branch.pl | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/mirror-nixos-branch.pl b/mirror-nixos-branch.pl index 29640af..5784f98 100755 --- a/mirror-nixos-branch.pl +++ b/mirror-nixos-branch.pl @@ -226,16 +226,8 @@ if ($bucketReleases && $bucketReleases->head_key("$releasePrefix")) { # All of these paths are x86-specific only and are not in small channels if ($arch eq "x86_64-linux" and $channelName !~ /-small/) { - # Renamed iso_graphcial to iso_plasma5 in 20.03 - if ($releaseName !~ /-19./) { - downloadFile("nixos.iso_plasma5.$arch"); - } else { - downloadFile("nixos.iso_graphical.$arch"); - } - - if ($releaseName !~ /-19./ && $releaseName !~ /-20.03/) { - downloadFile("nixos.iso_gnome.$arch"); - } + downloadFile("nixos.iso_plasma5.$arch"); + downloadFile("nixos.iso_gnome.$arch"); downloadFile("nixos.iso_minimal.i686-linux"); downloadFile("nixos.ova.$arch"); @@ -293,7 +285,7 @@ if ($bucketReleases && $bucketReleases->head_key("$releasePrefix")) { # Text files $configuration->{content_type} = "text/plain"; } elsif ($fn =~ /.json.br$/) { - # JSON encoded as brotly + # JSON encoded as brotli $configuration->{content_type} = "application/json"; $configuration->{content_encoding} = "br"; }