chore(docker): Remove errors when PUID & PGID are specified

It's been a sufficient amount of time since support for these variables
has been removed; users should no longer require an explicit error to
remind them to use `--user` from now on.

Fixes #115.
pull/136/head
Robert Dailey 2 years ago
parent 87843b4ee1
commit 42d2316eb1

@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
grouped by their category, as determined by the tables at the top of the "Collection of custom grouped by their category, as determined by the tables at the top of the "Collection of custom
formats" pages in the guide for each service. formats" pages in the guide for each service.
### Changed
- Docker: `PUID` and `PGID` no longer cause a failure on container start up.
## [2.5.0] - 2022-09-11 ## [2.5.0] - 2022-09-11
### Added ### Added

@ -1,16 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
if [[ ! -z ${PUID+x} ]]; then
echo 'PUID is no longer supported. Use `--user` instead.'
exit 1
fi
if [[ ! -z ${PGID+x} ]]; then
echo 'PGID is no longer supported. Use `--user` instead.'
exit 1
fi
# If the script has any arguments, invoke the CLI instead # If the script has any arguments, invoke the CLI instead
if [ "$#" -gt 0 ]; then if [ "$#" -gt 0 ]; then
recyclarr "$@" recyclarr "$@"

Loading…
Cancel
Save