Changed numbering on userBank.syx

pull/444/head
Luca 2 years ago committed by GitHub
parent 60070f9378
commit 0fa1e17dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      getsysex.sh

@ -64,8 +64,6 @@ case $? in
;; ;;
esac esac
declare -i count
count=1
# Download all the files in the list # Download all the files in the list
for i in "${LINKS[@]}"; for i in "${LINKS[@]}";
do do
@ -76,15 +74,13 @@ do
if (( $? > 0 )) if (( $? > 0 ))
then then
echo "Download failed" echo "Download failed"
else
count+=1
fi fi
done done
# Download the user bank # Copy over the user bank
echo "Downloading https://github.com/donluca/MiniDexed/raw/getsysex.sh/userBank.syx ..." echo "Downloading https://github.com/probonopd/MiniDexed/raw/main/userBank.syx ..."
printf -v j "%05d" $count 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 )) if (( $? > 0 ))
then then
echo "Download failed" echo "Download failed"

Loading…
Cancel
Save