Browse Source

Added fix for auto-install

Bypasses code for MariaDB/MySQL and warns users have use auto-install
sqlite is being used
pull/584/head
Daniel Gibbs 9 years ago
parent
commit
98dd71ec39
  1. 4
      functions/install_ts3db.sh

4
functions/install_ts3db.sh

@ -41,6 +41,7 @@ fn_install_ts3db_mariadb(){
sleep 1
}
if [ -z "${autoinstall}" ]; then
echo ""
while true; do
read -e -i "n" -p "Do you want to use MariaDB/MySQL instead of sqlite (Database Server including user and database already has to be set up!)? [y/N]" yn
@ -50,6 +51,9 @@ while true; do
* ) echo "Please answer yes or no.";;
esac
done
else
fn_printwarningnl "./${selfname} auto-install is uses sqlite. For MariaDB/MySQL use ./${selfname} install"
fi
## Get privilege key
echo ""

Loading…
Cancel
Save