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%%,*}";
|
channel="${chline%%,*}";
|
||||||
version="${chline##*,}";
|
version="${chline##*,}";
|
||||||
|
|
||||||
# XXX: Remove case after version 26 is stable:
|
url="${bucket_url%/}/chromium-$version.tar.xz";
|
||||||
if [ "${version%%.*}" -ge 26 ]; then
|
|
||||||
url="${bucket_url%/}/chromium-$version.tar.xz";
|
|
||||||
else
|
|
||||||
url="${bucket_url%/}/chromium-$version.tar.bz2";
|
|
||||||
fi;
|
|
||||||
|
|
||||||
echo -n "Checking if sha256 of version $version is cached..." >&2;
|
echo -n "Checking if sha256 of version $version is cached..." >&2;
|
||||||
if sha256="$(sha_lookup "$version")";
|
if sha256="$(sha_lookup "$version")";
|
||||||
|
Loading…
Reference in New Issue
Block a user