From efe7b219a68e15084716189126942b40a422ff03 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Thu, 19 Jan 2017 00:08:38 +0100 Subject: [PATCH] installedmodslist --- lgsm/functions/mods_core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/mods_core.sh b/lgsm/functions/mods_core.sh index 30195b350..c77c3364e 100644 --- a/lgsm/functions/mods_core.sh +++ b/lgsm/functions/mods_core.sh @@ -429,10 +429,10 @@ fn_installed_mods_list(){ installedmodslist=() while [ $installedmodsline -le $installedmodscount ]; do currentmod="$(sed "${installedmodsline}q;d" "${modslockfilefullpath}" )" - installedmodslist+="$(sed "${installedmodsline}q;d" "${modslockfilefullpath}")" fn_mod_get_info_from_command echo -e "\e[1m${modprettyname}\e[0m - ${moddescription} - ${modsite}" echo -e " * \e[36m${modcommand}\e[0m" + installedmodslist+=( "${modcommand}" ) let installedmodsline=installedmodsline+1 done echo ""