Description
The downloadResources.sh script did not check that unzip is available before downloading the resources, which would lead to an unnecessary download of 650MB. I added an additional check before the download starts to make sure the downloaded archives can be unzipped.
Context
When installing SKIRT within a Docker container, the base image might not have unzip available. Installing unzip takes a few seconds, but if you only notice it is missing after the download completed, this leads to a lot of unnecessary network traffic.
Description The
downloadResources.sh
script did not check thatunzip
is available before downloading the resources, which would lead to an unnecessary download of 650MB. I added an additional check before the download starts to make sure the downloaded archives can be unzipped.Context When installing SKIRT within a Docker container, the base image might not have
unzip
available. Installingunzip
takes a few seconds, but if you only notice it is missing after the download completed, this leads to a lot of unnecessary network traffic.