chromium/update: Fix fetching previous version.
After refactoring the updater we no longer did properly propagate the exit code from the nix-prefetch-url call to the main script. So if the newest version could not be fetched it didn't even bother to try the previous release and we would end up with an empty hash. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
4cbedd7322
commit
47214207b9
|
@ -99,7 +99,9 @@ in rec {
|
|||
|
||||
prefetch_sha()
|
||||
{
|
||||
echo "$(prefetch_main_sha "$@").$(prefetch_deb_sha "$@")";
|
||||
main_sha="$(prefetch_main_sha "$@")" || return 1;
|
||||
deb_sha="$(prefetch_deb_sha "$@")" || return 1;
|
||||
echo "$main_sha.$deb_sha";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue