mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Message formatting changes
This commit is contained in:
@@ -146,8 +146,8 @@ wait_for_apt() {
|
||||
|
||||
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."
|
||||
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..."
|
||||
@@ -161,8 +161,7 @@ wait_for_apt() {
|
||||
echo "Attempting to acquire dpkg lock... (Attempt $count/$retry_count)"
|
||||
if __check_apt_lock; then
|
||||
if [[ -z $progress_callback ]]; then
|
||||
echo " $lock_msg"
|
||||
echo " $retry_msg"
|
||||
echo " $lock_msg, $retry_msg"
|
||||
else
|
||||
$progress_callback "$retry_msg"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user