Update setup.bash

This commit is contained in:
RandomNinjaAtk 2023-07-07 15:10:54 -04:00 committed by GitHub
parent f6cb6f22e0
commit 0119f53347
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
scriptVersion="1.5" scriptVersion="1.6"
######## Package dependencies installation ######## Package dependencies installation
InstallRequirements () { InstallRequirements () {
@ -77,7 +77,7 @@ curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/sabnzbd/
if [ -f /config/audio.bash ]; then if [ -f /config/audio.bash ]; then
if [ -f /config/scripts/audio.bash ]; then if [ -f /config/scripts/audio.bash ]; then
echo "Removing /config/scripts/audio.bash" echo "Removing /config/scripts/audio.bash"
rm /config/scripts/video.bash rm /config/scripts/audio.bash
fi fi
echo "Importing /config/audio.bash to /config/scripts/audio.bash" echo "Importing /config/audio.bash to /config/scripts/audio.bash"
mv /config/audio.bash /config/scripts/audio.bash mv /config/audio.bash /config/scripts/audio.bash