diff --git a/DFbuild b/DFbuild index c5fa3ec..ff0d104 100755 --- a/DFbuild +++ b/DFbuild @@ -58,6 +58,15 @@ esac # version into USB name CONFIG+=("--iso-application" "DFiso_$VERSION" "--iso-volume" "DFiso_$VERSION") +# téléchargement des cahiers du débutant si nécessaire (vérifier la version) +LESCAHIERS="lescahiersdudebutant_11.0.2_all.deb" + +if [ ! -f "${DFDIR}/config/packages/${LESCAHIERS}" ]; then + cd ${DFDIR}/config/packages/ + wget -c https://debian-facile.org/projets/lescahiersdudebutant/download/${LESCAHIERS} + cd ${DFDIR} +fi + # live-build time lb config ${CONFIG[@]} lb build diff --git a/config/packages/lescahiersdudebutant_11.0_all.deb b/config/packages/lescahiersdudebutant_11.0_all.deb deleted file mode 100644 index 09f2fd8..0000000 Binary files a/config/packages/lescahiersdudebutant_11.0_all.deb and /dev/null differ