2024-06-18 23:48:54 +12:00
|
|
|
#!/bin/sh
|
|
|
|
|
2025-02-13 12:19:03 +13:00
|
|
|
set -e
|
2024-06-18 23:48:54 +12:00
|
|
|
|
2025-02-13 12:19:03 +13:00
|
|
|
data_init="/app/data_init"
|
|
|
|
data="/app/data"
|
2024-06-18 23:48:54 +12:00
|
|
|
|
2025-02-13 12:19:03 +13:00
|
|
|
# Merge data_init into data without overwrites.
|
2025-02-13 12:34:08 +13:00
|
|
|
# cp -R -n "$data_init/." "$data/"
|
|
|
|
cp -R "$data_init/." "$data/"
|
2025-02-13 12:19:03 +13:00
|
|
|
|
|
|
|
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 "$@"
|