From 9a42317c4e6e5c19043ce0ffdd966e7cffa7cca6 Mon Sep 17 00:00:00 2001 From: Leon Haag-Fank Date: Fri, 5 Apr 2024 13:05:49 +0200 Subject: [PATCH] rename CHOWN_* env vars to ZEITDL_* --- docker-entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 38764ee..4756820 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh -[[ -n "$CHOWN_UID" || -n "$CHOWN_GID" ]] && chown_arg='-q' +[[ -n "$ZEITDL_UID" || -n "$ZEITDL_GID" ]] && chown_arg='-q' if out=$(python ./zeit-dl "$ZEITDL_USER" "$ZEITDL_PASSWORD" ${ZEITDL_OPTIONS:=-o /data} $chown_arg) then - [[ -n "$CHOWN_UID" ]] && chown $CHOWN_UID "$out" - [[ -n "$CHOWN_GID" ]] && chgrp $CHOWN_GID "$out" + [[ -n "$ZEITDL_UID" ]] && chown $ZEITDL_UID "$out" + [[ -n "$ZEITDL_GID" ]] && chgrp $ZEITDL_GID "$out" fi