Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
612a8bf34e fix(build): guard against empty IPv6 address in static mode
Prevents 'net0: invalid format' when IPv6 method is static but
IPV6_ADDR is empty. Fixes #13178.
2026-03-22 20:43:28 +01:00
3 changed files with 5 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/convertx ]]; then
if [[ ! -d /var ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
@@ -33,8 +33,6 @@ function update_script() {
systemctl stop convertx
msg_info "Stopped Service"
ensure_dependencies libreoffice-writer
msg_info "Move data-Folder"
if [[ -d /opt/convertx/data ]]; then
mv /opt/convertx/data /opt/data

View File

@@ -24,7 +24,6 @@ $STD apt install -y \
dvisvgm \
ffmpeg \
inkscape \
libreoffice-writer \
libva2 \
libvips-tools \
lmodern \

View File

@@ -3544,8 +3544,10 @@ build_container() {
auto) NET_STRING="$NET_STRING,ip6=auto" ;;
dhcp) NET_STRING="$NET_STRING,ip6=dhcp" ;;
static)
NET_STRING="$NET_STRING,ip6=$IPV6_ADDR"
[ -n "$IPV6_GATE" ] && NET_STRING="$NET_STRING,gw6=$IPV6_GATE"
if [[ -n "$IPV6_ADDR" ]]; then
NET_STRING="$NET_STRING,ip6=$IPV6_ADDR"
[ -n "$IPV6_GATE" ] && NET_STRING="$NET_STRING,gw6=$IPV6_GATE"
fi
;;
none) ;;
esac