Create setup.bash

#22
This commit is contained in:
RandomNinjaAtk 2023-07-16 14:31:22 -04:00 committed by GitHub
parent 4288d20ca3
commit eaa48deb3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
readarr/setup.bash Normal file
View file

@ -0,0 +1,22 @@
#!/usr/bin/with-contenv bash
echo "************ install and update packages ************"
apk add -U --update --no-cache \
jq \
py3-pip && \
echo "************ install python packages ************"
pip install --upgrade --no-cache-dir -U yq
mkdir -p /custom-services.d
echo "Download AutoConfig service..."
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/readarr/AutoConfig.bash -o /custom-services.d/AutoConfig
echo "Done"
echo "Download QueueCleaner service..."
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/services/QueueCleaner -o /custom-services.d/QueueCleaner
echo "Done"
mkdir -p /config/extended
echo "Download PlexNotify script..."
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/PlexNotify.bash -o /config/extended/PlexNotify.bash
echo "Done"
exit