This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from lidofinance/update_build_sh_scripts
feat: updated deploy, setup bash scripts for installing on airgapped
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
#!/bin/bash | ||
|
||
wget -q --show-progress https://ftp.mozilla.org/pub/firefox/releases/83.0/linux-x86_64/en-US/firefox-83.0.tar.bz2 | ||
shasum firefox-83.0.tar.bz2 | | ||
wget -q --show-progress https://ftp.mozilla.org/pub/firefox/releases/110.0.1/linux-x86_64/en-US/firefox-110.0.1.tar.bz2 | ||
sha256sum firefox-110.0.1.tar.bz2 | | ||
while read -r sum _ ; do | ||
[[ $sum == 43a0fb57ce1bfd348a15bbcc092ac7cced79ce79 ]] && echo "Firefox checksum is correct." || echo "[WARN] Incorrect Firefox checksum!" | ||
[[ $sum == 0ffd6499f8e2bb31d5321a6ec1ed5c2fcfb22f917a49a2b0c2d8b6fd379a1e7f ]] && echo "Firefox checksum is correct." || echo "[WARN] Incorrect Firefox checksum!" | ||
done | ||
|
||
wget -q --show-progress https://github.com/lidofinance/dc4bc/releases/download/2.0.0/dc4bc_airgapped_linux | ||
shasum dc4bc_airgapped_linux | | ||
wget -q --show-progress https://github.com/lidofinance/dc4bc/releases/download/4.0.0/build-linux-amd64.tar | ||
tar -xvf build-linux-amd64.tar | ||
shasum ./build/dc4bc_airgapped | | ||
while read -r sum _ ; do | ||
[[ $sum == 11f5bf387f185c36f5d7e04bd6f1efba71f54596 ]] && echo "Airgapped checksum is correct." || echo "[WARN] Incorrect Airgapped checksum!" | ||
[[ $sum == 6508c7fd3b055d90f0725b188a59ebf7060255b3 ]] && echo "Airgapped checksum is correct." || echo "[WARN] Incorrect Airgapped checksum!" | ||
done | ||
|
||
cp ../qr_reader_bundle/qr-tool.html ./qr-tool.html | ||
mv dc4bc_airgapped_linux dc4bc_airgapped | ||
mv ./build/dc4bc_airgapped dc4bc_airgapped |