fix: ensure all linux scripts have progress bars

This commit is contained in:
dyzulk
2026-01-06 16:36:17 +07:00
parent c4f39a686c
commit 2695d2e11e

View File

@@ -505,7 +505,8 @@ class OpenSslService
"echo \"TrustLab - Installing CA Certificate: {$cert->common_name}\"\n" .
"if [ \"\$EUID\" -ne 0 ]; then echo \"Please run as root (sudo)\"; exit 1; fi\n" .
"TEMP_CERT=\"/tmp/trustlab-{$cert->uuid}.crt\"\n" .
"curl -sL \"{$cdnUrl}\" -o \"\$TEMP_CERT\"\n" .
"echo \"Downloading certificate...\"\n" .
"curl -L --progress-bar \"{$cdnUrl}\" -o \"\$TEMP_CERT\"\n" .
"if [ ! -f \"\$TEMP_CERT\" ]; then echo \"Failed to download cert\"; exit 1; fi\n\n" .
"echo \"Checking and installing ca-certificates package...\"\n" .
"if [ -d /etc/debian_version ]; then\n" .