From 7417b9c217b83a5a8ce56046edce85d450eb0d5f Mon Sep 17 00:00:00 2001 From: DaveO16176 Date: Tue, 2 Jul 2024 05:27:19 -0400 Subject: [PATCH] fix: copied working files from master branch to template --- .../init-mod-emby-mediainfo-plugin-add-package/run | 11 ++++++----- .../init-mod-emby-mediainfo-plugin-postinstall/run | 9 +++++---- .../init-mod-emby-mediainfo-plugin-postinstall/up | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-add-package/run b/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-add-package/run index 2fed210..3e72173 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-add-package/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-add-package/run @@ -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 \ No newline at end of file diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run b/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run index e6b1eac..8467dd3 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run @@ -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 && \ \ No newline at end of file + unzip biftool_linux.zip -d /usr/bin \ No newline at end of file diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/up b/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/up index 03d298d..6b29936 100644 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/up +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/up @@ -1 +1 @@ -/etc/s6-overlay/s6-rc.d/init-mod-imagename-modname-install/run \ No newline at end of file +/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run \ No newline at end of file