summaryrefslogtreecommitdiff
path: root/modulemanager
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-04 21:49:39 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-04 21:49:39 +0000
commitce262fcaaf50e25d11b9f1cf89eb34747eeb6173 (patch)
treed95e8b1f9572c77334530ff4ea00438fa379801e /modulemanager
parent818a53e13ab7d86f84231aa30bac2956a93ea292 (diff)
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
Diffstat (limited to 'modulemanager')
-rwxr-xr-xmodulemanager5
1 files changed, 5 insertions, 0 deletions
diff --git a/modulemanager b/modulemanager
index 68d32324d..928e95152 100755
--- a/modulemanager
+++ b/modulemanager
@@ -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";