зеркало из https://github.com/mozilla/pjs.git
Use the expected hash value for the update info.
This commit is contained in:
Родитель
dd6e74ee37
Коммит
d69d7c8bd7
|
@ -419,9 +419,9 @@ sub update_create_stats {
|
|||
$hashvalue;
|
||||
|
||||
if ($hashfunction eq "sha1") {
|
||||
$hashvalue = `md5sum $update`;
|
||||
} else {
|
||||
$hashvalue = `sha1sum $update`;
|
||||
} else {
|
||||
$hashvalue = `md5sum $update`;
|
||||
}
|
||||
chomp($hashvalue);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче