summarylogtreecommitdiffstats
path: root/ff-downloader.pl
diff options
context:
space:
mode:
authorSimon Brulhart2016-05-03 12:40:44 +0200
committerSimon Brulhart2016-05-03 12:40:44 +0200
commitb18366736912898c5054f898db7a1d5fae880af1 (patch)
tree09037c615577c9b31754bb3fcfa6d22a07d73210 /ff-downloader.pl
parent45dae4f42351dadc2108e58d22395bea0e76574e (diff)
downloadaur-b18366736912898c5054f898db7a1d5fae880af1.tar.gz
Revert "adapt to new SHA512SUMS format"
This reverts commit fa6fbe44eb6c3e3e32466607325972983a42be79. They switched back to the old SHA512SUMS format.
Diffstat (limited to 'ff-downloader.pl')
-rw-r--r--ff-downloader.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/ff-downloader.pl b/ff-downloader.pl
index 750827f02a99..49daaa7f1f9a 100644
--- a/ff-downloader.pl
+++ b/ff-downloader.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# ff-downloader v0.6.0.2
+# ff-downloader v0.6.0.1
## Copyright 2011-15 Simone Sclavi 'Ito'
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -295,8 +295,7 @@ get_url( $ff_url, 'SHA512SUMS' ) or die qq(:: ERROR - can't download SHA512SUMS\
print ':: verifying sha512 checksum ... ';
my @sha512_file = read_file('SHA512SUMS');
-my ($final_ver,) = split(/(rc|b)\d+$/, $VER);
-my $search_string = "firefox-${final_ver}.${LANG}.linux-${ARCH}.tar.bz2";
+my $search_string = "linux-${ARCH}/${LANG}/${ff_bz2}";
my $sha512s;
for (@sha512_file)
{