v1.2 - correct error

This commit is contained in:
RandomNinjaAtk 2023-07-10 10:56:06 +00:00 committed by GitHub
parent 15ecd45700
commit 27eb97d604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)