Update 98-script-setup.bash

pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent af5c813db7
commit 3baadc6aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,12 +44,15 @@ find /config/extended -type f -exec chmod 666 {} \;
chmod -R 777 /config/extended/scripts chmod -R 777 /config/extended/scripts
echo "Setting up scripts..." echo "Setting up scripts..."
if [ -f "/etc/services.d/QueueCleaner.bash" ]; then if [ -f "/custom-services.d/QueueCleaner.bash" ]; then
echo "Removing old script, QueueCleaner.bash" echo "Removing old script, QueueCleaner.bash"
rm "/etc/services.d/QueueCleaner.bash" rm "/custom-services.d/QueueCleaner.bash"
fi
if [ ! -d /custom-services.d ]; then
mkdir -p /custom-services.d
fi fi
echo "Downloading and setting up QueueCleaner.bash" echo "Downloading and setting up QueueCleaner.bash"
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/QueueCleaner.bash" -o "/etc/services.d/QueueCleaner.bash" curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/QueueCleaner.bash" -o "/custom-services.d/QueueCleaner.bash"
chmod 777 "/etc/services.d/QueueCleaner.bash" chmod 777 "/custom-services.d/QueueCleaner.bash"
echo "Complete..." echo "Complete..."
exit exit

Loading…
Cancel
Save