mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-20 10:21:36 -04:00
24 lines
754 B
Plaintext
Executable File
24 lines
754 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
# This is the init file used for adding os or pip packages to install lists.
|
|
# It takes advantage of the built-in init-mods-package-install init script that comes with the baseimages.
|
|
# If using this, we need to make sure we set this init as a dependency of init-mods-package-install so this one runs first
|
|
|
|
# Determine if setup is needed
|
|
if [ ! -f "/usr/bin/apt" ]; then
|
|
echo "**** Image is not Ubuntu, skipping emby-mediainfo install ****"
|
|
exit 0
|
|
fi
|
|
|
|
if [ $(uname -m) != "x86_64" ]; then
|
|
echo "**** Mediainfo only works on X86_64, skipping ****"
|
|
exit 0
|
|
fi
|
|
|
|
# Ubuntu
|
|
if [ -f /usr/bin/apt ]; then
|
|
echo "\
|
|
mediainfo \
|
|
mkvtoolnix \
|
|
unzip" >> /mod-repo-packages-to-install.list
|
|
fi |