diff --git a/Screenshot.png b/Screenshot.png index d0f3fd9..09d6183 100644 Binary files a/Screenshot.png and b/Screenshot.png differ diff --git a/build_svprognu b/build_svprognu index fbebfa9..6f90252 100755 --- a/build_svprognu +++ b/build_svprognu @@ -5,16 +5,22 @@ set -e -apt install -y live-build git -git clone https://git.weblib.re/svpro/svpro_gnu.git -cd svpro_gnu && git checkout $(git tag -l | tail -n 1) +ISO="live-svpro_gnu-amd64.iso" + +# Recuperation iso +echo "Téléchargement de l'iso..." +sleep 5 +wget -O ${ISO} https://www.weblib.re/dokuwiki/_media/svpro_gnu:live_svpro_gnu-amd64.hybrid.iso +wget -O ${ISO}.md5sum https://www.weblib.re/dokuwiki/_media/svpro_gnu:live_svpro_gnu-amd64.hybrid.iso.md5sum +echo "Vérification de l'image..." + +if ! md5sum -c ${ISO}.md5sum + then + echo "ISO Corompue. Abandon !!" + rm -f ${ISO} ${ISO}.md5 + exit 1 +fi -# Build iso -lb clean -lb config -lb build -ISO=$(ls *.iso) -echo "ISO créée $(pwd)/$ISO" # Copie de l'image iso sur clé while getopts ":d: " opt; do case $opt in