Only download naming.json if it does not exist.
#42 - Resolves this request
This commit is contained in:
parent
1ddee1c0aa
commit
57b3681eb0
1 changed files with 6 additions and 3 deletions
|
@ -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..."
|
||||||
|
|
Loading…
Reference in a new issue