From e8b80ae9808429df31f6f5712c014136dca19c80 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 21 Jan 2021 08:33:32 -0500 Subject: [PATCH] Update 33-script-setup.bash --- root/etc/cont-init.d/33-script-setup.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/root/etc/cont-init.d/33-script-setup.bash b/root/etc/cont-init.d/33-script-setup.bash index 84bd859..d6c478b 100644 --- a/root/etc/cont-init.d/33-script-setup.bash +++ b/root/etc/cont-init.d/33-script-setup.bash @@ -22,6 +22,12 @@ if [ ! -f /config/scripts/audio-pp.bash ]; then chown abc:abc /config/scripts/audio-pp.bash fi +if [ ! -f /config/scripts/configs/beets-config.yaml ]; then + cp /scripts/beets-config.yaml /config/scripts/configs/beets-config.yaml + chmod 777 /config/scripts/configs/beets-config.yaml + chown abc:abc /config/scripts/configs/beets-config.yaml +fi + if [ -f /config/scripts/logs/audio-pp.log ]; then rm /config/scripts/logs/audio-pp.log fi