1 |
--- smeserver-yum-2.0.0/root/etc/e-smith/events/actions/yum-action.buffer 2008-10-07 08:21:29.000000000 -0600 |
2 |
+++ smeserver-yum-2.0.0/root/etc/e-smith/events/actions/yum-action 2008-10-28 16:49:15.000000000 -0600 |
3 |
@@ -40,6 +40,9 @@ |
4 |
open STDOUT, '>', "$log_file" or die "Can't redirect STDOUT: $!"; |
5 |
open STDERR, ">&STDOUT" or die "Can't dup STDOUT: $!"; |
6 |
|
7 |
+# Make yum send output immediately, so server-manager sees progress |
8 |
+$ENV{PYTHONUNBUFFERED} = 1; |
9 |
+ |
10 |
# XXX - FIXME - For groupremove, we need to do a grouplist on the group |
11 |
# and then work out what to do |
12 |
|