diff options
author | EuAndreh <eu@euandre.org> | 2019-05-30 21:00:46 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-30 21:00:46 -0300 |
commit | be1768f4404bfc9cd7226ad26a1770370fa49752 (patch) | |
tree | a0c20b12fe5e3717588995fae925ca4fceb5dcf7 /scripts | |
parent | Add USAGE information to burn-nixos.sh (diff) | |
download | dotfiles-be1768f4404bfc9cd7226ad26a1770370fa49752.tar.gz dotfiles-be1768f4404bfc9cd7226ad26a1770370fa49752.tar.xz |
Use -c to continue wget download of NixOS ISO
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/burn-nixos.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/burn-nixos.sh b/scripts/burn-nixos.sh index 43903d7..947fd0d 100755 --- a/scripts/burn-nixos.sh +++ b/scripts/burn-nixos.sh @@ -33,8 +33,8 @@ ISO_PATH='/tmp/nixos.iso' } yellow "Downloading NixOS ISO..." -wget -O "${ISO_PATH}" "${NIXOS_URL}" -wget -O "${ISO_PATH}.sha256" "${NIXOS_URL}.sha256" +wget -cO "${ISO_PATH}" "${NIXOS_URL}" +wget -cO "${ISO_PATH}.sha256" "${NIXOS_URL}.sha256" diff <(sha256sum "${ISO_PATH}" | awk '{print $1}') <(awk '{print $1}' < "${ISO_PATH}.sha256") || { red "SHA256 didn't match!" exit 1 |