mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
chromium/updater: Remove workaround for <= v26.
We no longer need the tar.bz2 archives, so let's remove the switch. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
ea87598a71
commit
8cf68e5645
@ -79,12 +79,7 @@ get_channel_exprs()
|
||||
channel="${chline%%,*}";
|
||||
version="${chline##*,}";
|
||||
|
||||
# XXX: Remove case after version 26 is stable:
|
||||
if [ "${version%%.*}" -ge 26 ]; then
|
||||
url="${bucket_url%/}/chromium-$version.tar.xz";
|
||||
else
|
||||
url="${bucket_url%/}/chromium-$version.tar.bz2";
|
||||
fi;
|
||||
url="${bucket_url%/}/chromium-$version.tar.xz";
|
||||
|
||||
echo -n "Checking if sha256 of version $version is cached..." >&2;
|
||||
if sha256="$(sha_lookup "$version")";
|
||||
|
Loading…
Reference in New Issue
Block a user