diff --git a/pkgs/applications/networking/browsers/chromium/update.sh b/pkgs/applications/networking/browsers/chromium/update.sh index 2d95d466b2a8..cc38125c1933 100755 --- a/pkgs/applications/networking/browsers/chromium/update.sh +++ b/pkgs/applications/networking/browsers/chromium/update.sh @@ -78,7 +78,12 @@ get_channel_exprs() do channel="${chline%%,*}"; version="${chline##*,}"; - url="${bucket_url%/}/chromium-$version.tar.bz2"; + + # XXX: Remove case after version 26 is stable: + case "${version%%.*}" in + 26) url="${bucket_url%/}/chromium-$version-lite.tar.xz";; + *) url="${bucket_url%/}/chromium-$version.tar.bz2";; + esac; echo -n "Checking if sha256 of version $version is cached..." >&2; if sha256="$(sha_lookup "$version")";