| 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
ExistsBasicProgramms
LoadConfig
- ExistsScripts "$SCRIPTPATH"
SetDefaultVariables
ReadArguments $*