From 50537f802bb311e27961662e868c76f27599563d Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 18 Mar 2023 12:55:53 -0400 Subject: [PATCH] Update 98-script-setup.bash --- root/etc/cont-init.d/98-script-setup.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root/etc/cont-init.d/98-script-setup.bash b/root/etc/cont-init.d/98-script-setup.bash index dd7c4ac..713887b 100644 --- a/root/etc/cont-init.d/98-script-setup.bash +++ b/root/etc/cont-init.d/98-script-setup.bash @@ -45,6 +45,10 @@ chmod -R 777 /config/extended/scripts echo "Setting up scripts..." +if [ -f "/etc/services.d/QueueCleaner.bash" ]; then + echo "Removing old script, QueueCleaner.bash" + rm "/etc/services.d/QueueCleaner.bash" +fi echo "Downloading and setting up QueueCleaner.bash" curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/QueueCleaner.bash" -o "/etc/services.d/QueueCleaner.bash" chmod 777 "/etc/services.d/QueueCleaner.bash"