Update 31-path-setup.bash

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent 66fe33fbe7
commit a7b33789a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,6 +6,18 @@ if [ ! -d "/config/scripts" ]; then
chmod 0777 "/config/scripts" chmod 0777 "/config/scripts"
fi 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 # Create downloads incomplete directory
if [ ! -d "/stroage/downloads/sabnzbd/incomplete" ]; then if [ ! -d "/stroage/downloads/sabnzbd/incomplete" ]; then
mkdir -p "/stroage/downloads/sabnzbd/incomplete" mkdir -p "/stroage/downloads/sabnzbd/incomplete"

Loading…
Cancel
Save