mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-24 17:22:12 -04:00
fix: copied working files from master branch to template
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# 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
|
||||
if [ ! -f /usr/bin/apt ]; then
|
||||
echo "**** Image is not Ubuntu, skipping emby-mediainfo install ****"
|
||||
exit 0
|
||||
fi
|
||||
@@ -17,8 +17,9 @@ fi
|
||||
|
||||
# Ubuntu
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
echo "\
|
||||
mediainfo \
|
||||
mkvtoolnix \
|
||||
unzip" >> /mod-repo-packages-to-install.list
|
||||
cho "**** Installing packages ****"
|
||||
echo "\
|
||||
mediainfo \
|
||||
mkvtoolnix \
|
||||
unzip" >> /mod-repo-packages-to-install.list
|
||||
fi
|
||||
@@ -4,8 +4,9 @@
|
||||
# so it can take advantage of packages installed
|
||||
# init-mods-end depends on this script so that later init and services wait until this script exits
|
||||
|
||||
curl -o \
|
||||
/tmp/biftool_linux.zip -L \
|
||||
"https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip" && \
|
||||
echo "**** Installing BIF Tool ****"
|
||||
curl -L \
|
||||
"https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip" \
|
||||
-o /tmp/biftool_linux.zip && \
|
||||
cd /tmp && \
|
||||
unzip biftool_linux.zip -d /usr/bin && \
|
||||
unzip biftool_linux.zip -d /usr/bin
|
||||
@@ -1 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-imagename-modname-install/run
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run
|
||||
Reference in New Issue
Block a user