mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
[feat] Increase retry_count, decrease wait time, change wording
This commit is contained in:
@@ -144,10 +144,10 @@ get_random_value() {
|
|||||||
wait_for_apt() {
|
wait_for_apt() {
|
||||||
local progress_callback=$1
|
local progress_callback=$1
|
||||||
|
|
||||||
local retry_count=2
|
local retry_count=30
|
||||||
local retry_timeout='30s'
|
local retry_timeout='10s'
|
||||||
local lock_msg='Could not acquire dpkg lock, is another process using it?'
|
local lock_msg='Could not acquire lock.'
|
||||||
local retry_msg="Waiting $retry_timeout for dpkg lock to release."
|
local retry_msg="Waiting $retry_timeout for lock to release."
|
||||||
if [ -z "$progress_callback" ]; then
|
if [ -z "$progress_callback" ]; then
|
||||||
if [ -z "$progress_bar_text" ]; then
|
if [ -z "$progress_bar_text" ]; then
|
||||||
local old_text="Installing..."
|
local old_text="Installing..."
|
||||||
|
|||||||
Reference in New Issue
Block a user