Only download naming.json if it does not exist
#42 - Resolves this request
This commit is contained in:
parent
57b3681eb0
commit
e94c407da8
1 changed files with 5 additions and 3 deletions
|
@ -66,9 +66,11 @@ curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sonarr/Yo
|
|||
echo "Done"
|
||||
|
||||
mkdir -p /config/extended
|
||||
echo "Download Naming script..."
|
||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sonarr/naming.json -o /config/extended/naming.json
|
||||
echo "Done"
|
||||
if [ ! -f /config/extended/naming.json ]; then
|
||||
echo "Download Naming script..."
|
||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sonarr/naming.json -o /config/extended/naming.json
|
||||
echo "Done"
|
||||
fi
|
||||
|
||||
mkdir -p /config/extended
|
||||
echo "Download Script Functions..."
|
||||
|
|
Loading…
Reference in a new issue