From 29d2b51085ac7b5a6d134f9203271b0eeac172cf Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Sat, 14 Jan 2017 20:35:18 +0100 Subject: [PATCH] No need to check for systemdir, lgsm already does --- lgsm/functions/command_mods_install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lgsm/functions/command_mods_install.sh b/lgsm/functions/command_mods_install.sh index c1bbcf89c..5e419b86b 100644 --- a/lgsm/functions/command_mods_install.sh +++ b/lgsm/functions/command_mods_install.sh @@ -44,12 +44,8 @@ fn_mods_install_init(){ } fn_mods_requirements(){ - # If systemdir doesn't exist, then the game isn't installed - if [ ! -d "${systemdir}" ]; then - fn_print_fail "${gamename} needs to be installed first." - core_exit.sh # If tompdir variable doesn't exist, LGSM is too old - elif [ -z "${tmpdir}" ]||[ -z "${lgsmdir}" ]; then + if [ -z "${tmpdir}" ]||[ -z "${lgsmdir}" ]; then fn_print_fail "Your LGSM version is too old." echo " * Please do a full update, including ${selfname} script." core_exit.sh