Skip to content

Commit 4614f15

Browse files
committed
trixie: Fix http links for ipv6
1 parent 4040b84 commit 4614f15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

trixie

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,10 @@ function conclusion() {
657657

658658
# Fallback to IPv6
659659
if [[ -z "$local_ip" ]]; then
660-
local_ip=$(hostname --all-ip-address | tr ' ' '\n' | grep ":" | head -n1)
660+
local_ip="[$(hostname --all-ip-address | tr ' ' '\n' | grep ":" | head -n1)]"
661661
fi
662662
if [[ -z "$global_ip" ]]; then
663-
global_ip=$(curl https://ipv6.yunohost.org 2>/dev/null || true)
663+
global_ip="[$(curl https://ipv6.yunohost.org 2>/dev/null || true)]"
664664
fi
665665

666666
# Will ignore local ip if it's already the global IP (e.g. for some VPS)

0 commit comments

Comments
 (0)