Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emby: mediainfo-plugin fix unzip command #949

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/with-contenv bash

# This is an install script that is designed to run after init-mods-package-install
# 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

echo "**** Installing BIF Tool ****"
curl -L \
"https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip" \
-o /tmp/biftool_linux.zip && \
if [[ ! -f /usr/bin/biftool ]]; then
echo "**** Installing BIF Tool ****"
curl -fL \
"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 -uo biftool_linux.zip -d /usr/bin
else
echo "**** BIF Tool already installed ****"
fi