From ec2ea37793ca0509e4231750d5faf76d192c5448 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 5 Dec 2020 17:19:08 +0100 Subject: [PATCH] fix: remove script path check --- albentohandy | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/albentohandy b/albentohandy index 2eeb430..574c012 100755 --- a/albentohandy +++ b/albentohandy @@ -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 $* -- 2.47.3