#!/bin/bash

VERSION=${VERSION:-4.7.3}

set -e
#wget -c -O systemrescuecd-${VERSION}.img http://downloads.sourceforge.net/project/systemrescuecd/sysresccd-x86/${VERSION}/systemrescuecd-${VERSION}.iso
wget -c -O systemrescuecd-${VERSION}.img http://pumath.dl.osdn.jp/storage/g/s/sy/systemrescuecd/releases/${VERSION}/systemrescuecd-${VERSION}.iso
isohybrid systemrescuecd-${VERSION}.img
sha512sum systemrescuecd-${VERSION}.img > systemrescuecd-${VERSION}.img.sha512
