From a7b33789a4b95bd87705cb7230567cac38e0ce48 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 17 Mar 2020 17:40:04 -0400 Subject: [PATCH] Update 31-path-setup.bash --- root/etc/cont-init.d/31-path-setup.bash | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/root/etc/cont-init.d/31-path-setup.bash b/root/etc/cont-init.d/31-path-setup.bash index 1e9451f..bb0f84c 100644 --- a/root/etc/cont-init.d/31-path-setup.bash +++ b/root/etc/cont-init.d/31-path-setup.bash @@ -6,6 +6,18 @@ if [ ! -d "/config/scripts" ]; then chmod 0777 "/config/scripts" fi +# Create configs directory +if [ ! -d "/config/scripts/configs" ]; then + mkdir -p "/config/scripts/configs" + chmod 0777 "/config/scripts/configs" +fi + +# Create logs directory +if [ ! -d "/config/scripts/logs" ]; then + mkdir -p "/config/scripts/logs" + chmod 0777 "/config/scripts/logs" +fi + # Create downloads incomplete directory if [ ! -d "/stroage/downloads/sabnzbd/incomplete" ]; then mkdir -p "/stroage/downloads/sabnzbd/incomplete"