mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -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
|
# 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
|
# 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 ****"
|
echo "**** Image is not Ubuntu, skipping emby-mediainfo install ****"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@@ -17,8 +17,9 @@ fi
|
|||||||
|
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
echo "\
|
cho "**** Installing packages ****"
|
||||||
mediainfo \
|
echo "\
|
||||||
mkvtoolnix \
|
mediainfo \
|
||||||
unzip" >> /mod-repo-packages-to-install.list
|
mkvtoolnix \
|
||||||
|
unzip" >> /mod-repo-packages-to-install.list
|
||||||
fi
|
fi
|
||||||
@@ -4,8 +4,9 @@
|
|||||||
# so it can take advantage of packages installed
|
# 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
|
# init-mods-end depends on this script so that later init and services wait until this script exits
|
||||||
|
|
||||||
curl -o \
|
echo "**** Installing BIF Tool ****"
|
||||||
/tmp/biftool_linux.zip -L \
|
curl -L \
|
||||||
"https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip" && \
|
"https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip" \
|
||||||
|
-o /tmp/biftool_linux.zip && \
|
||||||
cd /tmp && \
|
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