v1.3 - Add fallback downloadpath if its not set.

This commit is contained in:
RandomNinjaAtk 2023-07-13 06:57:47 -04:00 committed by GitHub
parent 13061e91a4
commit 01404ba986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.2" scriptVersion="1.3"
scriptName="Audio" scriptName="Audio"
#### Import Settings #### Import Settings
@ -16,6 +16,9 @@ if [ "$enableAudio" != "true" ]; then
sleep infinity sleep infinity
fi fi
if [ -z "$downloadPath" ]; then
downloadPath="/config/extended/downloads"
fi
getArrAppInfo () { getArrAppInfo () {
# Get Arr App information # Get Arr App information