Daniel Gibbs před 8 roky
rodič
revize
56630ab66d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lgsm/functions/command_mods_update.sh

+ 1 - 1
lgsm/functions/command_mods_update.sh

@@ -72,7 +72,7 @@ sleep 1
 # List all installed mods and apply update
 # List all installed mods and apply update
 # Reset line value
 # Reset line value
 installedmodsline="1"
 installedmodsline="1"
-while [ ${installedmodsline} -le ${installedmodscount} ]; do
+while [ "${installedmodsline}" -le "${installedmodscount}" ]; do
 	currentmod="$(sed "${installedmodsline}q;d" "${modsinstalledlistfullpath}")"
 	currentmod="$(sed "${installedmodsline}q;d" "${modsinstalledlistfullpath}")"
 	if [ -n "${currentmod}" ]; then
 	if [ -n "${currentmod}" ]; then
 		fn_mod_get_info
 		fn_mod_get_info