Ensure to install unzip dependancie if not available

This commit is contained in:
Jeremy Gardais 2018-02-14 10:28:31 +01:00
parent a54ecc428c
commit c985da0564
2 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,10 @@ else
TFTP_DIRECTORY="/srv/tftp"
fi
if ! command -v unzip > /dev/null; then
apt install unzip
fi
CZ_INSTALLER_DIR="${TFTP_DIRECTORY}/installer/clonezilla"
CZ_CONFIG_PXE="${CZ_INSTALLER_DIR}/menu.cfg.example"
CZ_VERSION="2.5.0-5"

View File

@ -9,6 +9,11 @@ else
TFTP_DIRECTORY="/srv/tftp"
fi
if ! command -v unzip > /dev/null; then
apt install unzip
fi
### Memtest {{{
MEMTEST_VERSION="5.01"
MEMTEST_URL="http://www.memtest.org/download/${MEMTEST_VERSION}/memtest86+-${MEMTEST_VERSION}.bin.gz"