diff --git a/CHANGELOG.md b/CHANGELOG.md index 8717d26..ccdb461 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.0.10 2022-03-21 + + ### Changed + - Fix for restore script not taking "custom" usernames or passwords + + ## 3.0.9 2022-03-21 ### Changed diff --git a/install/usr/local/bin/restore b/install/usr/local/bin/restore index 8451885..48dde2d 100755 --- a/install/usr/local/bin/restore +++ b/install/usr/local/bin/restore @@ -697,9 +697,9 @@ EOF c* ) counter=1 q_dbuser=" " - while [[ $q_dbname = *" "* ]]; do + while [[ $q_dbuser = *" "* ]]; do if [ $counter -gt 1 ] ; then print_error "DB Usernames can't have spaces in them, please re-enter." ; fi ; - read -e -p "$(echo -e ${clg}** ${cdgy}What DB User do you wish to use:\ ${coff})" q_dbname + read -e -p "$(echo -e ${clg}** ${cdgy}What DB User do you wish to use:\ ${coff})" q_dbuser (( counter+=1 )) done r_dbuser=${q_dbuser} @@ -766,9 +766,9 @@ EOF c* ) counter=1 q_dbpass=" " - while [[ $q_dbname = *" "* ]]; do + while [[ $q_dbpass = *" "* ]]; do if [ $counter -gt 1 ] ; then print_error "DB Passwords can't have spaces in them, please re-enter." ; fi ; - read -e -p "$(echo -e ${clg}** ${cdgy}What DB Password do you wish to use:\ ${coff})" q_dbname + read -e -p "$(echo -e ${clg}** ${cdgy}What DB Password do you wish to use:\ ${coff})" q_dbpass (( counter+=1 )) done r_dbpass=${q_dbpass}