Only download naming.json if it does not exist.

#42 - Resolves this request
This commit is contained in:
RandomNinjaAtk 2023-07-29 11:41:29 -04:00 committed by GitHub
parent 1ddee1c0aa
commit 57b3681eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,9 +66,12 @@ echo "Download Script Functions..."
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions
echo "Done" echo "Done"
echo "Download Naming script..."
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json if [ ! -f /config/extended/naming.json ]; then
echo "Done" echo "Download Naming script..."
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
echo "Done"
fi
mkdir -p /config/extended mkdir -p /config/extended
echo "Download PlexNotify script..." echo "Download PlexNotify script..."