elliebot/docker-entrypoint.sh

17 lines
339 B
Bash
Raw Normal View History

2024-06-18 23:48:54 +12:00
#!/bin/sh
set -e
2024-06-18 23:48:54 +12:00
data_init="/app/data_init"
data="/app/data"
2024-06-18 23:48:54 +12:00
# Merge data_init into data without overwrites.
# cp -R -n "$data_init/." "$data/"
cp -R "$data_init/." "$data/"
echo "Yt-dlp update"
# TODO: Update yt-dlp. It should not crash the entrypoint if ca-certificates is not installed
# yt-dlp -U
echo "Running EllieBot"
2025-02-11 14:07:50 +13:00
exec "$@"