From ec82ffff413de240f3306f9566288070b57728e4 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Tue, 27 Feb 2018 01:08:19 +0100 Subject: [PATCH] can't touch this --- lgsm/functions/install_ts3db.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lgsm/functions/install_ts3db.sh b/lgsm/functions/install_ts3db.sh index eeb136382..66edb34e5 100644 --- a/lgsm/functions/install_ts3db.sh +++ b/lgsm/functions/install_ts3db.sh @@ -55,6 +55,13 @@ else fn_print_warning_nl "./${selfname} auto-install is uses sqlite. For MariaDB/MySQL use ./${selfname} install" fi +## License +fn_script_log "Accepting ts3server license: ${executabledir}/LICENSE" +fn_print_info_nl "Accepting TeamSpeak license:" +fn_print_info_nl " * ${executabledir}/LICENSE" +sleep 3 +touch "${executabledir}/.ts3server_license_accepted" + ## Get privilege key echo "" echo "Getting privilege key" @@ -62,13 +69,6 @@ echo "=================================" sleep 1 echo "IMPORANT! Save these details for later." sleep 1 -if [ ! -f "${executabledir}/.ts3server_license_accepted" ]; then - fn_script_log "Accepting ts3server license: ${executabledir}/LICENSE" - fn_print_info_nl "Accepting TeamSpeak license" - fn_print_info_nl " * You can review the TeamSpeak License in ${executabledir}/LICENSE" - sleep 3 - touch "${executabledir}/.ts3server_license_accepted" -fi cd "${executabledir}" ./ts3server_startscript.sh start inifile=ts3-server.ini sleep 5