From fb6c207209cd6372765d9415125285631934a056 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Thu, 30 May 2024 21:46:33 +0200 Subject: [PATCH] Update INSTALL.sh --- INSTALL.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/INSTALL.sh b/INSTALL.sh index 5bec6882..13cd24a3 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -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