Explorar o código

missing increment

UltimateByte %!s(int64=9) %!d(string=hai) anos
pai
achega
97e30c95ff
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lgsm/functions/command_mods_update.sh

+ 2 - 1
lgsm/functions/command_mods_update.sh

@@ -52,12 +52,13 @@ fn_mods_update_loop(){
 			fn_mod_get_info_from_command
 			# Don't update the mod if it's policy is to "NOUPDATE"
 			if [ "${modkeepfiles}" == "NOUPDATE" ]; then
-				fn_print_warning "${modprettyname} update has been disabled by LGSM."
+				fn_print_warning_nl "${modprettyname} update has been disabled by LGSM."
 				echo " * Usual reason is to prevent erasing custom files."
 				echo " * If you still wish to update this mod:"
 				echo " *  1) Backup your critical mod files"
 				echo " *  2) Uninstall the mod with ./${selfname} mods-uninstall (optionnal)"
 				echo " *  3) Re-install the mod with ./${selfname} mods-install"
+				let installedmodsline=installedmodsline+1
 			else
 				fn_print_dots_nl "Updating ${modprettyname}"
 				fn_script_log "Updating ${modprettyname}."