Browse Source

No need to check for systemdir, lgsm already does

pull/1255/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
29d2b51085
  1. 6
      lgsm/functions/command_mods_install.sh

6
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

Loading…
Cancel
Save