|
@ -169,7 +169,7 @@ fn_mod_get_info(){ |
|
|
modinfocommand="1" |
|
|
modinfocommand="1" |
|
|
break |
|
|
break |
|
|
fi |
|
|
fi |
|
|
((totalmods++)) |
|
|
((totalmodsavailable++)) |
|
|
done |
|
|
done |
|
|
fi |
|
|
fi |
|
|
# Exit the loop if job is done |
|
|
# Exit the loop if job is done |
|
@ -231,8 +231,8 @@ fn_mods_installed_list(){ |
|
|
# Increment line check |
|
|
# Increment line check |
|
|
((installedmodsline++)) |
|
|
((installedmodsline++)) |
|
|
done |
|
|
done |
|
|
if [ -n "${totalmods}" ] ;then |
|
|
if [ -n "${installedmodscount}" ] ;then |
|
|
fn_script_log_info "${totalmods} addons/mods are already installed" |
|
|
fn_script_log_info "${installedmodscount} addons/mods are already installed" |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|