pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 85fe1dc171
commit 401f62402b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,10 @@
#!/usr/bin/env bash
scriptVersion="1.0.002"
iif [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then
if [ -z "$arrUrl" ] || [ -z "$arrApiKey" ]; then
arrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$arrUrlBase" = "null" ]; then
arrlBase=""
if [ "$arrUrlBase" == "null" ]; then
arrUrlBase=""
else
arrUrlBase="/$(echo "$arrUrlBase" | sed "s/\///g")"
fi

Loading…
Cancel
Save