mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 12:00:01 +03:00
* Revert https://github.com/Tzahi12345/YoutubeDL-Material/pull/864 add && make it err and skipping perm check * Restore armv7 nightly * Update entrypoint.sh * simplify, always setup permission regardless uid
8 lines
393 B
Bash
Executable File
8 lines
393 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
# chown current working directory to current user
|
|
echo "[entrypoint] setup permission, this may take a while"
|
|
find . \! -user "$UID" -exec chown "$UID:$GID" '{}' + || echo "WARNING! Could not change directory ownership. If you manage permissions externally this is fine, otherwise you may experience issues when downloading or deleting videos."
|
|
exec gosu "$UID:$GID" "$@"
|