From: Bastian Dehn Date: Sat, 5 Dec 2020 16:19:08 +0000 (+0100) Subject: fix: remove script path check X-Git-Tag: v1.0.0^2~69 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=ec2ea37793ca0509e4231750d5faf76d192c5448;p=albentohandy.git fix: remove script path check --- 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 $*