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:
aszlig 2013-06-14 13:06:12 +02:00
parent ea87598a71
commit 8cf68e5645
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -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")";