From 0fa1e17ddac146ef5ca231d7f0cb34d102fa111c Mon Sep 17 00:00:00 2001 From: Luca <51792528+donluca@users.noreply.github.com> Date: Fri, 28 Apr 2023 19:54:45 +0200 Subject: [PATCH] Changed numbering on userBank.syx --- getsysex.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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"