|
@@ -477,7 +477,7 @@ fn_installed_mods_detailed_list(){
|
|
|
fn_mods_available_commands_from_installed
|
|
fn_mods_available_commands_from_installed
|
|
|
# Were now based on ${installedmodslist} array's values
|
|
# Were now based on ${installedmodslist} array's values
|
|
|
# We're gonna go through all available commands, get details and display them to the user
|
|
# We're gonna go through all available commands, get details and display them to the user
|
|
|
- for ((dlindex=0; dlindex <= ${#installedmodslist[@]}; dlindex++)); do
|
|
|
|
|
|
|
+ for ((dlindex=0; dlindex < ${#installedmodslist[@]}; dlindex++)); do
|
|
|
# Current mod is the "dlindex" value of the array we're going through
|
|
# Current mod is the "dlindex" value of the array we're going through
|
|
|
currentmod="${installedmodslist[dlindex]}"
|
|
currentmod="${installedmodslist[dlindex]}"
|
|
|
# Get mod info
|
|
# Get mod info
|
|
@@ -495,7 +495,7 @@ fn_installed_mods_medium_list(){
|
|
|
fn_mods_available_commands_from_installed
|
|
fn_mods_available_commands_from_installed
|
|
|
# Were now based on ${installedmodslist} array's values
|
|
# Were now based on ${installedmodslist} array's values
|
|
|
# We're gonna go through all available commands, get details and display them to the user
|
|
# We're gonna go through all available commands, get details and display them to the user
|
|
|
- for ((mlindex=0; mlindex <= ${#installedmodslist[@]}; mlindex++)); do
|
|
|
|
|
|
|
+ for ((mlindex=0; mlindex < ${#installedmodslist[@]}; mlindex++)); do
|
|
|
# Current mod is the "mlindex" value of the array we're going through
|
|
# Current mod is the "mlindex" value of the array we're going through
|
|
|
currentmod="${installedmodslist[mlindex]}"
|
|
currentmod="${installedmodslist[mlindex]}"
|
|
|
# Get mod info
|
|
# Get mod info
|
|
@@ -516,7 +516,7 @@ fn_installed_mods_light_list(){
|
|
|
echo "Installed mods/addons"
|
|
echo "Installed mods/addons"
|
|
|
# Were now based on ${installedmodslist} array's values
|
|
# Were now based on ${installedmodslist} array's values
|
|
|
# We're gonna go through all available commands, get details and display them to the user
|
|
# We're gonna go through all available commands, get details and display them to the user
|
|
|
- for ((llindex=0; llindex <= ${#installedmodslist[@]}; llindex++)); do
|
|
|
|
|
|
|
+ for ((llindex=0; llindex < ${#installedmodslist[@]}; llindex++)); do
|
|
|
# Current mod is the "llindex" value of the array we're going through
|
|
# Current mod is the "llindex" value of the array we're going through
|
|
|
currentmod="${installedmodslist[llindex]}"
|
|
currentmod="${installedmodslist[llindex]}"
|
|
|
# Get mod info
|
|
# Get mod info
|