mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update install.sh
This commit is contained in:
@@ -1077,10 +1077,10 @@ install_packages() {
|
||||
if is_package_installed "$package"; then
|
||||
echo -e "${GREEN}$package is already installed. Skipping.${RESET}"
|
||||
else
|
||||
debug_log $PACKAGE_MANAGER -qq install "$package"
|
||||
debug_log $PACKAGE_MANAGER -qq install "$package" -y
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error: Installation of $package failed. Retrying.."
|
||||
$PACKAGE_MANAGER -qq install "$package"
|
||||
$PACKAGE_MANAGER -qq install "$package" -y
|
||||
if [ $? -ne 0 ]; then
|
||||
radovan 1 "ERROR: Installation failed. Please retry installation with '--retry' flag."
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user