From: Bastian Dehn Date: Mon, 11 Jul 2016 14:43:14 +0000 (+0200) Subject: albentohandy.sh have to $HOME/.albentohandy.conf X-Git-Tag: v1.0.0^2~142 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=cce2bdffe95a4c2d45574d8f2924d988735facc1;p=albentohandy.git albentohandy.sh have to $HOME/.albentohandy.conf --- diff --git a/albentohandy.sh b/albentohandy.sh index 9d2ed4e..ccdc9c2 100755 --- a/albentohandy.sh +++ b/albentohandy.sh @@ -3,9 +3,16 @@ # work is a directory do symlinked original and convert work="$(pwd)/work.$$" # scriptpath is the path to flactomp3v2.sh script -scriptpath="/media/smbdaten1/scripts" +scriptpath="/tmp/scripts" # musicpath is collection directory -musicpath="/media/smbdaten1/musik-flac" +musicpath="/tmp/musikpath" +if [ -f $HOME/.albumtohandy.conf ] +then + source $HOME/.albumtohandy.conf +else + printf "\nERROR\n%s/.albumtohandy.conf does not exists\n" $HOME + exit 1 +fi albumlist="albumlist" parallelopts=":" curphase=1 @@ -98,3 +105,5 @@ then printf "cleanup working directory\n\n" rm -r $work fi + +exit 0