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"