v1.2 - correct error
This commit is contained in:
parent
15ecd45700
commit
27eb97d604
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
scriptVersion="1.1"
|
scriptVersion="1.2"
|
||||||
|
|
||||||
|
log () {
|
||||||
|
m_time=`date "+%F %T"`
|
||||||
|
echo $m_time" :: AutoConfig :: $scriptVersion :: "$1
|
||||||
|
}
|
||||||
|
|
||||||
getArrAppInfo () {
|
getArrAppInfo () {
|
||||||
# Get Arr App information
|
# Get Arr App information
|
||||||
|
@ -51,11 +56,6 @@ if [ ! -f "/config/logs/AutoConfig.txt" ]; then
|
||||||
fi
|
fi
|
||||||
exec &> >(tee -a "/config/logs/AutoConfig.txt")
|
exec &> >(tee -a "/config/logs/AutoConfig.txt")
|
||||||
|
|
||||||
log () {
|
|
||||||
m_time=`date "+%F %T"`
|
|
||||||
echo $m_time" :: AutoConfig :: $scriptVersion :: "$1
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ -f /config/extended/naming.json ]; then
|
if [ -f /config/extended/naming.json ]; then
|
||||||
log "Using custom Naming (/config/extended/naming.json)..."
|
log "Using custom Naming (/config/extended/naming.json)..."
|
||||||
namingJson=$(cat /config/extended/naming.json)
|
namingJson=$(cat /config/extended/naming.json)
|
||||||
|
|
Loading…
Reference in a new issue