Ensure to install unzip dependancie if not available
This commit is contained in:
parent
a54ecc428c
commit
c985da0564
|
@ -10,6 +10,10 @@ else
|
||||||
TFTP_DIRECTORY="/srv/tftp"
|
TFTP_DIRECTORY="/srv/tftp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! command -v unzip > /dev/null; then
|
||||||
|
apt install unzip
|
||||||
|
fi
|
||||||
|
|
||||||
CZ_INSTALLER_DIR="${TFTP_DIRECTORY}/installer/clonezilla"
|
CZ_INSTALLER_DIR="${TFTP_DIRECTORY}/installer/clonezilla"
|
||||||
CZ_CONFIG_PXE="${CZ_INSTALLER_DIR}/menu.cfg.example"
|
CZ_CONFIG_PXE="${CZ_INSTALLER_DIR}/menu.cfg.example"
|
||||||
CZ_VERSION="2.5.0-5"
|
CZ_VERSION="2.5.0-5"
|
||||||
|
|
|
@ -9,6 +9,11 @@ else
|
||||||
TFTP_DIRECTORY="/srv/tftp"
|
TFTP_DIRECTORY="/srv/tftp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if ! command -v unzip > /dev/null; then
|
||||||
|
apt install unzip
|
||||||
|
fi
|
||||||
|
|
||||||
### Memtest {{{
|
### Memtest {{{
|
||||||
MEMTEST_VERSION="5.01"
|
MEMTEST_VERSION="5.01"
|
||||||
MEMTEST_URL="http://www.memtest.org/download/${MEMTEST_VERSION}/memtest86+-${MEMTEST_VERSION}.bin.gz"
|
MEMTEST_URL="http://www.memtest.org/download/${MEMTEST_VERSION}/memtest86+-${MEMTEST_VERSION}.bin.gz"
|
||||||
|
|
Loading…
Reference in New Issue