Merge pull request #85 from Badintral/optimized_chown

Fixes #84
This commit is contained in:
DyonR 2022-01-03 15:27:27 +01:00 committed by GitHub
commit daffa24f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ fi
chown -R ${PUID}:${PGID} /config/qBittorrent
# Set the rights on the /downloads folder
chown -R ${PUID}:${PGID} /downloads
find /downloads -not -user ${PUID} -execdir chown ${PUID}:${PGID} {} \+
# Check if qBittorrent.conf exists, if not, copy the template over
if [ ! -e /config/qBittorrent/config/qBittorrent.conf ]; then