Skip to content

Commit

Permalink
fix: bash expression to evaluate if mkvpropedit is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveO16176 committed Oct 28, 2024
1 parent dc4d33b commit b9a8de1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [ -f /usr/bin/apt ]; then
PACKAGES = "mkvtoolnix mkvtoolnix-gui"
else
// Check to see if mkvpropedit is installed or if mkvpropedit installed and check to see if version 70.0 is installed.
if [ ! -f /usr/bin/mkvpropedit ] || [[ -f /usr/bin/mkvpropedit ] && [ mkvpropedit --version | grep -qPo "[\d]+.[\d]+" != "70.0" ]]; then
if [ ! -f /usr/bin/mkvpropedit ] || [( -f /usr/bin/mkvpropedit ) && ( mkvpropedit --version | grep -qPo "[\d]+.[\d]+" != "70.0" )]; then
echo "**** Add version 70.0 of MKVToolNIX to package list. ****"

# Check for MKVToolNix repository
Expand Down

0 comments on commit b9a8de1

Please sign in to comment.