Browse Source

() lolilol

pull/1255/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
f645ace243
  1. 7
      lgsm/functions/mods_core.sh

7
lgsm/functions/mods_core.sh

@ -422,15 +422,14 @@ fn_mods_show_available(){
fi fi
} }
# Builds installed mods list and display it to the user. # Builds installed mods list and display it to the user.
fn_installed_mods_list(){ fn_installed_mods_list(){
# Set variables # Set variables
installedmodsline=1 installedmodsline="1"
installedmodslist=() installedmodslist=()
while [ $installedmodsline -le $installedmodscount ]; do while [ $installedmodsline -le $installedmodscount ]; do
currentmod="$(sed "${installedmodsline}q;d" "${modslockfilefullpath}" )"" currentmod="$(sed "${installedmodsline}q;d" "${modslockfilefullpath}" )"
installedmodslist+=( "$(sed "${installedmodsline}q;d" "${modslockfilefullpath}" )" ) installedmodslist+="$(sed "${installedmodsline}q;d" "${modslockfilefullpath}")"
fn_mod_get_info_from_command fn_mod_get_info_from_command
echo -e "\e[1m${displayedmodname}\e[0m - ${displayedmoddescription} - ${displayedmodsite}" echo -e "\e[1m${displayedmodname}\e[0m - ${displayedmoddescription} - ${displayedmodsite}"
echo -e " * \e[36m${displayedmodcommand}\e[0m" echo -e " * \e[36m${displayedmodcommand}\e[0m"

Loading…
Cancel
Save