mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +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() {
|
||||
local progress_callback=$1
|
||||
|
||||
local retry_count=2
|
||||
local retry_timeout='30s'
|
||||
local lock_msg='Could not acquire dpkg lock, is another process using it?'
|
||||
local retry_msg="Waiting $retry_timeout for dpkg lock to release."
|
||||
local retry_count=30
|
||||
local retry_timeout='10s'
|
||||
local lock_msg='Could not acquire lock.'
|
||||
local retry_msg="Waiting $retry_timeout for lock to release."
|
||||
if [ -z "$progress_callback" ]; then
|
||||
if [ -z "$progress_bar_text" ]; then
|
||||
local old_text="Installing..."
|
||||
|
||||
Reference in New Issue
Block a user