|
|
@ -19,15 +19,15 @@ if [ ! -f "/config/scripts/video-pp.bash" ]; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Create downloads incomplete directory
|
|
|
|
# Create downloads incomplete directory
|
|
|
|
if [ ! -d "/downloads/sabnzbd/incomplete" ]; then
|
|
|
|
if [ ! -d "/stroage/downloads/sabnzbd/incomplete" ]; then
|
|
|
|
mkdir -p "/downloads/sabnzbd/incomplete"
|
|
|
|
mkdir -p "/stroage/downloads/sabnzbd/incomplete"
|
|
|
|
chmod 0777 "/downloads/sabnzbd/incomplete"
|
|
|
|
chmod 0777 "/stroage/downloads/sabnzbd/incomplete"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Create downloads complete directory
|
|
|
|
# Create downloads complete directory
|
|
|
|
if [ ! -d "/downloads/sabnzbd/complete" ]; then
|
|
|
|
if [ ! -d "/stroage//downloads/sabnzbd/complete" ]; then
|
|
|
|
mkdir -p "/downloads/sabnzbd/complete"
|
|
|
|
mkdir -p "/stroage//downloads/sabnzbd/complete"
|
|
|
|
chmod 0777 "/downloads/sabnzbd/complete"
|
|
|
|
chmod 0777 "/stroage//downloads/sabnzbd/complete"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f "/config/scripts/sab-config-updated" ]; then
|
|
|
|
if [ ! -f "/config/scripts/sab-config-updated" ]; then
|