formatting

This commit is contained in:
LooseSeal2
2019-07-17 01:00:02 -07:00
parent 067ef0515b
commit e3c685e5b9
52 changed files with 567 additions and 428 deletions

View File

@@ -1,11 +1,11 @@
#!/usr/bin/with-contenv bash
# delete lock file if found
[[ -f /downloads/nzbget.lock ]] && \
[[ -f /downloads/nzbget.lock ]] &&
rm /downloads/nzbget.lock
# check if config file exists in /config
[[ ! -f /config/nzbget.conf ]] && \
[[ ! -f /config/nzbget.conf ]] &&
cp /defaults/nzbget.conf /config/nzbget.conf
# permissions
@@ -20,8 +20,8 @@ chmod u+rw \
chmod 777 -R \
/config
chmod 777 -R \
/app/nzbget
/app/nzbget
chmod 777 -R \
/downloads
/downloads
exec /config/installer/installer.sh