Ajout d'une interruption si live-build n'est pas installé :3

master
oty 3 months ago
parent 1c60211acf
commit 1d262837bc

@ -29,6 +29,13 @@ fi
## build ISO -----------------------------------------------------------
## dep check
if ! dpkg-query -W live-build &>"/dev/null"
then
echo "ERREUR: live-build n'est pas installé"
exit 1
fi
## place nette
lb clean
@ -46,7 +53,7 @@ then
export http_proxy="http://127.0.0.1:3142/"
CONFIG+=("--apt-http-proxy" "$http_proxy")
else
echo "WARNING: apt-cacher-ng n'est pas installé"
echo "AVERTISSEMENT: apt-cacher-ng n'est pas installé"
fi
# architecture handling

Loading…
Cancel
Save