Add support for MacOS Homebrew
This commit is contained in:
parent
be3ebf6f02
commit
7699d01b0c
|
@ -51,7 +51,7 @@ fi
|
|||
# Setting the correct resolution for the video file
|
||||
# Sintaxis: set_resolution <resolution> <file>
|
||||
function set_resolution() {
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
set_rel="${1}"
|
||||
input_video_file="${2}"
|
||||
bc_found="1"
|
||||
|
@ -134,7 +134,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat bc"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -51,7 +51,7 @@ fi
|
|||
# Setting the correct resolution for the video file
|
||||
# Sintaxis: set_resolution <resolution> <file>
|
||||
function set_resolution() {
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
set_rel="${1}"
|
||||
input_video_file="${2}"
|
||||
bc_found="1"
|
||||
|
@ -134,7 +134,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat bc"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -21,7 +21,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep find grep cut head tail cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -54,7 +54,7 @@ fi
|
|||
# Setting the correct resolution for the video file
|
||||
# Sintaxis: set_resolution <resolution> <file>
|
||||
function set_resolution() {
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
set_rel="${1}"
|
||||
input_video_file="${2}"
|
||||
bc_found="1"
|
||||
|
@ -142,7 +142,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat bc"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -54,7 +54,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -43,7 +43,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed cut head tail tr"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -59,7 +59,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -66,7 +66,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep find grep cut head tail tr cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -54,7 +54,7 @@ fi
|
|||
# Setting the correct resolution for the video file
|
||||
# Sintaxis: set_resolution <resolution> <file>
|
||||
function set_resolution() {
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
set_rel="${1}"
|
||||
input_video_file="${2}"
|
||||
bc_found="1"
|
||||
|
@ -142,7 +142,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat bc"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -54,7 +54,7 @@ fi
|
|||
# Setting the correct resolution for the video file
|
||||
# Sintaxis: set_resolution <resolution> <file>
|
||||
function set_resolution() {
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
set_rel="${1}"
|
||||
input_video_file="${2}"
|
||||
bc_found="1"
|
||||
|
@ -142,7 +142,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat bc"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -54,7 +54,7 @@ fi
|
|||
# Setting the correct resolution for the video file
|
||||
# Sintaxis: set_resolution <resolution> <file>
|
||||
function set_resolution() {
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
check_bc_app_directories="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
set_rel="${1}"
|
||||
input_video_file="${2}"
|
||||
bc_found="1"
|
||||
|
@ -142,7 +142,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat bc"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -21,7 +21,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep find grep cut head tail cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -59,7 +59,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep sed grep cut head tail tr cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -66,7 +66,7 @@ else
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep find grep cut head tail tr cat"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -783,7 +783,7 @@ function showHelp() {
|
|||
# Function to check if all the necessary tools
|
||||
# for the execution are installed.
|
||||
function checkDependencies() {
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -810,7 +810,7 @@ function showHelp() {
|
|||
# Function to check if all the necessary tools
|
||||
# for the execution are installed.
|
||||
function checkDependencies() {
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -764,7 +764,7 @@ function showHelp() {
|
|||
# Function to check if all the necessary tools
|
||||
# for the execution are installed.
|
||||
function checkDependencies() {
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -783,7 +783,7 @@ function showHelp() {
|
|||
# Function to check if all the necessary tools
|
||||
# for the execution are installed.
|
||||
function checkDependencies() {
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="sshpass expect rsync md5sum scp ssh find grep sed cut head tail cat ssh-keyscan ssh-keygen"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
|
@ -25,7 +25,7 @@ if [ -f "/usr/bin/cygwin-alias.sh" ] ; then
|
|||
fi
|
||||
|
||||
# Check if ffmpeg is installed
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin /home/linuxbrew/.linuxbrew/bin"
|
||||
path_check="/usr/bin /bin /usr/local/bin ${HOME}/.local/bin $(brew --prefix)/bin"
|
||||
dependencies="ffmpeg grep grep cut head tail tr"
|
||||
dependencies_found=""
|
||||
dependencies_not_found=""
|
||||
|
|
Loading…
Reference in New Issue
Block a user