Subversion Repositories ALCASAR

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
2598 tom.houday 1
--- install.pl.origin
2
+++ install.pl
3
@@ -553,7 +553,7 @@ sub UpgradeProfiles {
4
 				if( ! -f "$NfConf::PROFILEDATADIR/$profilepath/$channel/.nfstat") {
5
 					# no shadow profile, but missing channel stat
6
 					print "Rebuilding profile stats for '$profilegroup/$profilename'\n";
7
-					NfProfile::DoRebuild(\%profileinfo, $profilename, $profilegroup, $profilepath, 1, 0);
8
+					NfProfile::DoRebuild(*STDOUT, \%profileinfo, $profilename, $profilegroup, $profilepath, 1, 0);
9
 					NfProfile::WriteProfile(\%profileinfo);
10
 				}
11
 				# make sure it's own by nfsen_uid after the rebuild
12
diff --git a/libexec/NfProfile.pm b/libexec/NfProfile.pm
13
index 1ca7436..d58fcd2 100644
14
--- libexec/NfProfile.pm.origin
15
+++ libexec/NfProfile.pm
16
@@ -3441,7 +3441,7 @@ sub CheckProfiles {
17
 				} else {
18
 					$profileinfo{'type'} = 1;
19
 				}
20
-				my $status = DoRebuild(\%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
21
+				my $status = DoRebuild(*STDOUT, \%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
22
 				syslog('err', "Rebuilded profile '$profile' in group '$profilegroup': $status ");
23
 			}
24
 			if ( -f "$NfConf::PROFILESTATDIR/$profilepath/.CANCELED" ) {
25
@@ -3453,7 +3453,7 @@ sub CheckProfiles {
26
 				} else {
27
 					$profileinfo{'type'} = 1;
28
 				}
29
-				my $status = DoRebuild(\%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
30
+				my $status = DoRebuild(*STDOUT, \%profileinfo, $profile, $profilegroup, $profilepath, 0, 0);
31
 				syslog('err', "Rebuilded profile '$profile' in group '$profilegroup': $status ");
32
 			}
33
 			if ( $profileinfo{'locked'} ) {