mirror of
https://github.com/Unimatrix0/update_ombi.git
synced 2025-07-06 04:51:53 -07:00
parent
d0a39da0b9
commit
6d9a2e8b5c
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ declare -i verbosity=-1
|
||||||
############################################
|
############################################
|
||||||
|
|
||||||
name="update_ombi"
|
name="update_ombi"
|
||||||
version="1.1.01"
|
version="1.1.02"
|
||||||
SECONDS=0
|
SECONDS=0
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
@ -137,7 +137,7 @@ if [ -e $ombiservicefile ]; then
|
||||||
parseresults+="Group: $group, "
|
parseresults+="Group: $group, "
|
||||||
fi
|
fi
|
||||||
url=$(grep -Po '(?<=\-\-host )(http://.+)$' <<< "$ombiservice")
|
url=$(grep -Po '(?<=\-\-host )(http://.+)$' <<< "$ombiservice")
|
||||||
ip=$(grep -Po '(?<=http://)([\d\.]+):' <<< "$url")
|
ip=$(grep -Po '(?<=http://)((\d{1,3}\.){3}\d{1,3})(?=:)' <<< "$url")
|
||||||
if [ -n "${ip}" ]; then
|
if [ -n "${ip}" ]; then
|
||||||
parseresults+="IP: $ip, "
|
parseresults+="IP: $ip, "
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue