From 6ed4d8a100c7570813d98c33feef7cf723d42bc9 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 20 Mar 2020 11:25:52 -0400 Subject: [PATCH 1/3] bugfix... typo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0370ec1..478f493 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ LABEL maintainer="RandomNinjaAtk" ENV SABSCRIPTS_PATH /usr/local/sabnzbd-scripts ENV SMA_PATH /usr/local/sma ENV UPDATE_EXT TRUE -ENV UDPATE_SMA FALSE +ENV UPDATE_SMA FALSE ENV VIDEO_LANG eng ENV VIDEO_SMA FALSE ENV AUDIO_VERIFY TRUE From 02f88c8aa45c954cb6a9cd369b857b5b81534ba9 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 20 Mar 2020 11:27:00 -0400 Subject: [PATCH 2/3] Update 30-script-update.bash --- root/etc/cont-init.d/30-script-update.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/30-script-update.bash b/root/etc/cont-init.d/30-script-update.bash index 516228c..d553672 100644 --- a/root/etc/cont-init.d/30-script-update.bash +++ b/root/etc/cont-init.d/30-script-update.bash @@ -7,7 +7,7 @@ if [[ "${UPDATE_EXT}" == "TRUE" ]]; then fi # update from git -if [[ "${UDPATE_SMA}" == "TRUE" ]]; then +if [[ "${UPDATE_SMA}" == "TRUE" ]]; then git -C ${SMA_PATH} reset --hard HEAD && \ git -C ${SMA_PATH} pull origin master fi From 1b3b0731e68b565065530783b8214db7e61130e3 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 20 Mar 2020 11:28:16 -0400 Subject: [PATCH 3/3] bugfix, more typo's.. --- root/etc/cont-init.d/31-path-setup.bash | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/root/etc/cont-init.d/31-path-setup.bash b/root/etc/cont-init.d/31-path-setup.bash index bb0f84c..7d27117 100644 --- a/root/etc/cont-init.d/31-path-setup.bash +++ b/root/etc/cont-init.d/31-path-setup.bash @@ -19,15 +19,15 @@ if [ ! -d "/config/scripts/logs" ]; then fi # Create downloads incomplete directory -if [ ! -d "/stroage/downloads/sabnzbd/incomplete" ]; then - mkdir -p "/stroage/downloads/sabnzbd/incomplete" - chmod 0777 "/stroage/downloads/sabnzbd/incomplete" +if [ ! -d "/storage/downloads/sabnzbd/incomplete" ]; then + mkdir -p "/storage/downloads/sabnzbd/incomplete" + chmod 0777 "/storage/downloads/sabnzbd/incomplete" fi # Create downloads complete directory -if [ ! -d "/stroage//downloads/sabnzbd/complete" ]; then - mkdir -p "/stroage//downloads/sabnzbd/complete" - chmod 0777 "/stroage//downloads/sabnzbd/complete" +if [ ! -d "/storage/downloads/sabnzbd/complete" ]; then + mkdir -p "/storage/downloads/sabnzbd/complete" + chmod 0777 "/storage/downloads/sabnzbd/complete" fi exit 0