The check in the line if [ "$md5_of_os_zip_head" != "$expected_md5_of_os_zip" ]; then of the file: /src/custom_install_get_lineageos.sh is not effective. This is either because it does not correctly check whether the right file is downloaded, or it is because the file is downloaded towards the /src/logs/ folder which may be deleted each installation/at certain steps.
[ ] Ensure the OS is downloaded if it is not available.
[ ] Ensure the OS is not downloaded if it has already been downloaded during a previous installation.
The check in the line
if [ "$md5_of_os_zip_head" != "$expected_md5_of_os_zip" ]; then
of the file:/src/custom_install_get_lineageos.sh
is not effective. This is either because it does not correctly check whether the right file is downloaded, or it is because the file is downloaded towards the/src/logs/
folder which may be deleted each installation/at certain steps.