diff --git a/src/ks-av1 b/src/ks-av1 index 3971c5e..3937a22 100755 --- a/src/ks-av1 +++ b/src/ks-av1 @@ -51,7 +51,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution 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="" diff --git a/src/ks-av1s b/src/ks-av1s index 39bd3ff..29174cd 100755 --- a/src/ks-av1s +++ b/src/ks-av1s @@ -51,7 +51,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution 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="" diff --git a/src/ks-av1s-folder b/src/ks-av1s-folder index 9f03cb7..085dbdb 100755 --- a/src/ks-av1s-folder +++ b/src/ks-av1s-folder @@ -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="" diff --git a/src/ks-avi b/src/ks-avi index 5ec0ccb..33b325b 100755 --- a/src/ks-avi +++ b/src/ks-avi @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution 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="" diff --git a/src/ks-crop b/src/ks-crop index 0217271..21501c8 100755 --- a/src/ks-crop +++ b/src/ks-crop @@ -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="" diff --git a/src/ks-mix b/src/ks-mix index ba60c53..b13bf51 100755 --- a/src/ks-mix +++ b/src/ks-mix @@ -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="" diff --git a/src/ks-mp3 b/src/ks-mp3 index 861cd2f..5b6c126 100755 --- a/src/ks-mp3 +++ b/src/ks-mp3 @@ -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="" diff --git a/src/ks-mp3-album b/src/ks-mp3-album index 80566c4..542b5c1 100755 --- a/src/ks-mp3-album +++ b/src/ks-mp3-album @@ -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="" diff --git a/src/ks-mp4 b/src/ks-mp4 index bb1a74e..2049a3c 100755 --- a/src/ks-mp4 +++ b/src/ks-mp4 @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution 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="" diff --git a/src/ks-mp4k b/src/ks-mp4k index 2c0679e..35c1b1d 100755 --- a/src/ks-mp4k +++ b/src/ks-mp4k @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution 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="" diff --git a/src/ks-mp4s b/src/ks-mp4s index 4414bd2..6ab324a 100755 --- a/src/ks-mp4s +++ b/src/ks-mp4s @@ -54,7 +54,7 @@ fi # Setting the correct resolution for the video file # Sintaxis: set_resolution 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="" diff --git a/src/ks-mp4s-folder b/src/ks-mp4s-folder index 83037ed..13f8751 100755 --- a/src/ks-mp4s-folder +++ b/src/ks-mp4s-folder @@ -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="" diff --git a/src/ks-oga b/src/ks-oga index 3a83ee7..abbcdaf 100755 --- a/src/ks-oga +++ b/src/ks-oga @@ -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="" diff --git a/src/ks-oga-album b/src/ks-oga-album index 6edeb97..55f9fab 100755 --- a/src/ks-oga-album +++ b/src/ks-oga-album @@ -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="" diff --git a/src/ks-upa b/src/ks-upa index 6486c1d..3c2a88a 100755 --- a/src/ks-upa +++ b/src/ks-upa @@ -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="" diff --git a/src/ks-upf b/src/ks-upf index 5243364..588bfab 100755 --- a/src/ks-upf +++ b/src/ks-upf @@ -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="" diff --git a/src/ks-upr b/src/ks-upr index d19e1d7..4b8bba5 100755 --- a/src/ks-upr +++ b/src/ks-upr @@ -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="" diff --git a/src/ks-upv b/src/ks-upv index e35ebb3..8256f23 100755 --- a/src/ks-upv +++ b/src/ks-upv @@ -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="" diff --git a/src/ks-vob b/src/ks-vob index cd82a87..65f0d72 100755 --- a/src/ks-vob +++ b/src/ks-vob @@ -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=""