/[smeserver]/rpms/smeserver-audittools/sme7/smeserver-audittools-1.0.0-fixprint.patch
ViewVC logotype

Contents of /rpms/smeserver-audittools/sme7/smeserver-audittools-1.0.0-fixprint.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sat Nov 7 17:59:53 2009 UTC (15 years ago) by snetram
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-6.sme
- Undo changes made in 1.0.0-5 [SME: 5572]
- Properly fix output for usernames and groups containing a dot [SME: 5572]

1 diff -up smeserver-audittools-1.0.0/root/sbin/e-smith/audittools/aliases.fixprint smeserver-audittools-1.0.0/root/sbin/e-smith/audittools/aliases
2 --- smeserver-audittools-1.0.0/root/sbin/e-smith/audittools/aliases.fixprint 2006-03-30 02:50:36.000000000 +0200
3 +++ smeserver-audittools-1.0.0/root/sbin/e-smith/audittools/aliases 2009-11-06 14:25:11.000000000 +0100
4 @@ -60,5 +60,14 @@ for my $file ( readdir(DIR) )
5
6 open FILE, $file;
7
8 - print <FILE>, "\n";
9 + my @lines = <FILE>;
10 +
11 + foreach (@lines) {
12 +
13 + print $_ unless $_ =~ /^#/;
14 +
15 + }
16 +
17 + print "\n";
18 +
19 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed