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 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 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