-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #949 from DaveO16176/emby-mediainfo-plugin
emby: mediainfo-plugin fix unzip command
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
18 changes: 9 additions & 9 deletions
18
root/etc/s6-overlay/s6-rc.d/init-mod-emby-mediainfo-plugin-postinstall/run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |