Merge pull request #4 from RandomNinjaAtk/dev

bugfixes...typos :(
pull/6/head
RandomNinjaAtk 5 years ago committed by GitHub
commit 43b32e5d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

Loading…
Cancel
Save