diff options
Diffstat (limited to 'pkgs/applications/editors/jetbrains/update.pl')
-rwxr-xr-x | pkgs/applications/editors/jetbrains/update.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/jetbrains/update.pl b/pkgs/applications/editors/jetbrains/update.pl index a0479fc911250..b4a96228db40d 100755 --- a/pkgs/applications/editors/jetbrains/update.pl +++ b/pkgs/applications/editors/jetbrains/update.pl @@ -17,7 +17,7 @@ sub get_latest_versions { my @channels = get("http://www.jetbrains.com/updates/updates.xml") =~ /(<channel .+?<\/channel>)/gs; my %h = {}; for my $ch (@channels) { - my ($id) = $ch =~ /^<channel id="([^"]+)"/; + my ($id) = $ch =~ /^<channel id="[^"]+" name="([^"]+)"/; my @builds = $ch =~ /(<build .+?<\/build>)/gs; my $latest_build = reduce { my ($aversion) = $a =~ /^<build [^>]*version="([^"]+)"/; die "no version in $a" unless $aversion; |