Skip to content

Commit 9336baa

Browse files
committed
Get sha1 after download
1 parent 3b7da22 commit 9336baa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

overlay/tmp/install

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def install_source [] {
4949
bf write debug $"WordPress download url: ($url)." install_source
5050

5151
# get source download hash
52-
let hash = bf http download $"($url).sha1"
52+
let sha1 = "wp.sha1"
53+
let hash = bf http download $"($url).sha1" $sha1 | open --raw $sha1
5354
bf write debug $"SHA1 hash for WordPress ($wp_version) [($wp_locale)]:(char newline)($hash)" install_source
5455

5556
# download source files to /tmp and verify checksum

0 commit comments

Comments
 (0)