4
0
Эх сурвалжийг харах

No need to check for systemdir, lgsm already does

UltimateByte 9 жил өмнө
parent
commit
29d2b51085

+ 1 - 5
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