Update INSTALL.sh

This commit is contained in:
Stefan Pejcic
2024-05-30 21:46:33 +02:00
committed by GitHub
parent ca52d4130f
commit fb6c207209

View File

@@ -616,8 +616,12 @@ install_packages() {
else
debug_log $PACKAGE_MANAGER -qq install "$package"
if [ $? -ne 0 ]; then
echo "Error: Installation of $package failed."
exit 1
echo "Error: Installation of $package failed. Retrying.."
$PACKAGE_MANAGER -qq install "$package"
if [ $? -ne 0 ]; then
echo "ERROR: Installation failed. Please retry installation with '--retry' flag."
exit 1
fi
fi
fi
done