diff --git a/scripts/download_clonezilla.sh b/scripts/download_clonezilla.sh index df406c9..3a22e00 100755 --- a/scripts/download_clonezilla.sh +++ b/scripts/download_clonezilla.sh @@ -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" diff --git a/scripts/download_diag_tools.sh b/scripts/download_diag_tools.sh index 8623d20..5164d1b 100755 --- a/scripts/download_diag_tools.sh +++ b/scripts/download_diag_tools.sh @@ -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"