mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 08:33:13 +02:00
'./unrealircd module upgrade' only showed output for one module upgrade,
even when multiple modules were upgraded. Actually not sure about the cause and how this is possible, but running 'make install' only once at the end is the solution, which is something that should be done that way anyway. Reported by westor in https://bugs.unrealircd.org/view.php?id=5919
This commit is contained in:
@@ -1419,6 +1419,7 @@ void mm_upgrade(int argc, char *args[])
|
||||
}
|
||||
|
||||
/* Without arguments means: check all installed modules */
|
||||
no_make_install = 1;
|
||||
for (m = managed_modules; m; m = m->next)
|
||||
{
|
||||
int status = mm_get_module_status(m);
|
||||
@@ -1437,6 +1438,9 @@ void mm_upgrade(int argc, char *args[])
|
||||
update_unavailable++;
|
||||
}
|
||||
}
|
||||
no_make_install = 0;
|
||||
if (upgraded)
|
||||
mm_make_install();
|
||||
printf("All actions were successful. %d module(s) upgraded, %d already up-to-date\n",
|
||||
upgraded, uptodate_already);
|
||||
if (update_unavailable)
|
||||
|
||||
Reference in New Issue
Block a user