added create-ytdlp-config.sh
This commit is contained in:
BIN
.gitignore
vendored
BIN
.gitignore
vendored
Binary file not shown.
8
create-ytdlp-config.sh
Normal file
8
create-ytdlp-config.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#copy yt-dlp.conf if missing
|
||||||
|
mkdir -p /config
|
||||||
|
if [ ! -f /config/yt-dlp.conf ]; then
|
||||||
|
cp /app/default-yt-dlp.conf /config/yt-dlp.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
Reference in New Issue
Block a user