From f62c5987a165bfe5ab5cb3cf8c2f4e31521b1de1 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sat, 18 Mar 2023 12:53:54 -0400 Subject: [PATCH] Update 98-script-setup.bash --- root/etc/cont-init.d/98-script-setup.bash | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/root/etc/cont-init.d/98-script-setup.bash b/root/etc/cont-init.d/98-script-setup.bash index f3ed4dc..46fbaa6 100644 --- a/root/etc/cont-init.d/98-script-setup.bash +++ b/root/etc/cont-init.d/98-script-setup.bash @@ -37,6 +37,11 @@ chmod -R 777 /root echo "Setting up scripts..." echo "Downloading and setting up QueueCleaner.bash" +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" echo "Complete..."