From b6e3b1b191b6cf8e64645c17e6d8e2ef7654ffa7 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 9 Apr 2019 15:15:42 +0100 Subject: [PATCH] feat(install): refactor gslt to automatically detect gslt variable (#2280) --- lgsm/functions/command_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_install.sh b/lgsm/functions/command_install.sh index 78b0e5441..2d0a4aa30 100644 --- a/lgsm/functions/command_install.sh +++ b/lgsm/functions/command_install.sh @@ -32,7 +32,7 @@ else # Configuration install_config.sh - if [ "${shortname}" == "bb2" ]||[ "${shortname}" == "bmdm" ]||[ "${shortname}" == "csgo" ]||[ "${shortname}" == "em" ]||[ "${shortname}" == "gmod" ]||[ "${shortname}" == "nmrih" ]||[ "${shortname}" == "tf2" ]||[ "${shortname}" == "tu" ]; then + if [ -v "${gslt}" ]; then install_gslt.sh elif [ "${shortname}" == "dst" ]; then install_dst_token.sh @@ -47,4 +47,4 @@ else fix.sh install_complete.sh core_exit.sh -fi \ No newline at end of file +fi