added create-ytdlp-config.sh

This commit is contained in:
2025-08-16 23:13:47 -04:00
parent b0c0bb1d21
commit a09dbc4687
2 changed files with 8 additions and 0 deletions

BIN
.gitignore vendored

Binary file not shown.

8
create-ytdlp-config.sh Normal file
View 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 "$@"