From 725e6228bc93ac5d5a699ae954ade3dad0cc3f9c Mon Sep 17 00:00:00 2001 From: Lawrence curtis Date: Sun, 26 May 2024 22:21:10 +0100 Subject: [PATCH 1/2] dovi_tool dockermod This will only work on amd64 --- DockerMods/dovi_tool 2.1.1.sh | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 DockerMods/dovi_tool 2.1.1.sh diff --git a/DockerMods/dovi_tool 2.1.1.sh b/DockerMods/dovi_tool 2.1.1.sh new file mode 100644 index 0000000..746d37b --- /dev/null +++ b/DockerMods/dovi_tool 2.1.1.sh @@ -0,0 +1,36 @@ +# ---------------------------------------------------------------------------------------------------- +# Name: dovi_tool 2.1.1 +# Description: dovi_tool is a CLI tool combining multiple utilities for working with Dolby Vision. +# Revision: 3 +# Icon: fas fa-file-video +# ---------------------------------------------------------------------------------------------------- + +#!/bin/bash + +# Check if the --uninstall option is provided +if [ "$1" == "--uninstall" ]; then + echo "Uninstalling..." + rm -f /bin/dovi_tool + exit 0 +fi + +# Check if rar is installed +if command -v dovi_tool &>/dev/null; then + echo "already installed." + exit 0 +fi + +wget -O /tmp/dovi_tool.tar.gz https://github.com/quietvoid/dovi_tool/releases/download/2.1.1/dovi_tool-2.1.1-x86_64-unknown-linux-musl.tar.gz +tar xvf /tmp/dovi_tool.tar.gz +mv dovi_tool /bin + +echo "Installation complete." + +# Verify installation +if command -v dovi_tool &>/dev/null; then + echo "successfully installed." + exit 0 +fi + +echo "Failed to install." +exit 1 \ No newline at end of file From 1b1d840e97c71e464be9f7a1085427df152d4e0e Mon Sep 17 00:00:00 2001 From: John Andrews Date: Mon, 27 May 2024 09:26:50 +1200 Subject: [PATCH 2/2] Update dovi_tool 2.1.1.sh --- DockerMods/dovi_tool 2.1.1.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/DockerMods/dovi_tool 2.1.1.sh b/DockerMods/dovi_tool 2.1.1.sh index 746d37b..3e3d28b 100644 --- a/DockerMods/dovi_tool 2.1.1.sh +++ b/DockerMods/dovi_tool 2.1.1.sh @@ -1,5 +1,5 @@ # ---------------------------------------------------------------------------------------------------- -# Name: dovi_tool 2.1.1 +# Name: dovi_tool # Description: dovi_tool is a CLI tool combining multiple utilities for working with Dolby Vision. # Revision: 3 # Icon: fas fa-file-video @@ -23,8 +23,7 @@ fi wget -O /tmp/dovi_tool.tar.gz https://github.com/quietvoid/dovi_tool/releases/download/2.1.1/dovi_tool-2.1.1-x86_64-unknown-linux-musl.tar.gz tar xvf /tmp/dovi_tool.tar.gz mv dovi_tool /bin - -echo "Installation complete." +rm /tmp/dovi_tool.tar.gz # Verify installation if command -v dovi_tool &>/dev/null; then @@ -33,4 +32,4 @@ if command -v dovi_tool &>/dev/null; then fi echo "Failed to install." -exit 1 \ No newline at end of file +exit 1