diff --git a/getsysex.sh b/getsysex.sh index 4a041b2..4cf94e9 100755 --- a/getsysex.sh +++ b/getsysex.sh @@ -64,8 +64,6 @@ case $? in ;; esac -declare -i count -count=1 # Download all the files in the list for i in "${LINKS[@]}"; do @@ -76,15 +74,13 @@ do if (( $? > 0 )) then echo "Download failed" - else - count+=1 fi done -# Download the user bank -echo "Downloading https://github.com/donluca/MiniDexed/raw/getsysex.sh/userBank.syx ..." +# Copy over the user bank +echo "Downloading https://github.com/probonopd/MiniDexed/raw/main/userBank.syx ..." printf -v j "%05d" $count -curl -o "${TARGET_DIR}${j}_userBank.syx" ${CURL_OPTIONS} https://github.com/donluca/MiniDexed/raw/getsysex.sh/userBank.syx > /dev/null 2>&1 +curl -o "${TARGET_DIR}16384_userBank.syx" ${CURL_OPTIONS} https://github.com/probonopd/MiniDexed/raw/main/userBank.syx > /dev/null 2>&1 if (( $? > 0 )) then echo "Download failed"