Provide some kind of output so it doesn't look like it's doing nothing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11490 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
w00t 2009-08-04 21:49:39 +00:00
parent 818a53e13a
commit ce262fcaaf

View File

@ -278,11 +278,15 @@ resolve_deps(0);
$| = 1; # immediate print of lines without \n
print "Processing changes for $action...\n";
for my $mod (keys %installed) {
next if $todo{$mod};
print "Uninstalling $mod $installed{$mod}\n";
unlink "src/modules/$mod.cpp";
}
my $count = scalar keys %todo;
print "Checking $count items...\n";
for my $mod (sort keys %todo) {
my $ver = $todo{$mod};
my $oldver = $installed{$mod};
@ -313,3 +317,4 @@ for my $mod (sort keys %todo) {
}
close SRC;
}
print "Done!\n";