]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
fix: remove script path check
authorBastian Dehn <hhaalo@arcor.de>
Sat, 5 Dec 2020 16:19:08 +0000 (17:19 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 5 Dec 2020 16:19:08 +0000 (17:19 +0100)
albentohandy

index 2eeb430bb77042b824cb55e3388cd134ed7abbc5..574c012d6f8078f1c21f15413e1e13620542c67b 100755 (executable)
@@ -188,17 +188,6 @@ MakeSha256CheckSum()
                | sed "s=$workdir/==" >> $workdir/sha256sum
 }
 
-ExistsScripts()
-{
-       local readonly scriptdir="$1"
-
-       # flactomp3v2: convert flac's to mp3
-       if [ ! -f $scriptdir/flactovorbis ]; then
-               printf "\nERROR\nflactovorbis do not found in %s\n" $scriptdir
-               exit 1
-       fi
-}
-
 LoadConfig()
 {
        # .albentohandy.conf: set SCRIPTPATH and MUSICPATH
@@ -352,7 +341,6 @@ main()
 
        ExistsBasicProgramms
        LoadConfig
-       ExistsScripts "$SCRIPTPATH"
        SetDefaultVariables
 
        ReadArguments $*