###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2008 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2017 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
closedir(DIR);
foreach(@FILES) {
- my $Found = 0;
- if ( $_ =~ /$\.log/ || $_ =~ /^\.+/ ){next;}
-# print $_."\n";
- open(DATEI, "<./log/$_") || die "File not found";
- my @Lines = <DATEI>;
- close(DATEI);
- foreach (@Lines){
- if ( $_ =~ /^\+/ ){$Found=1;}
-
- }
- if ($Found){print "Changes in $_ check rootfile!\n";}
+# print $_."\n";
+ my $Found = 0;
+
+ if ( $_ =~ /$\.log/ || $_ =~ /^\.+/ || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/|| $_=~ /coreutils/ || $_=~ /cmake/ || $_=~ /libsigc/ || $_ eq 'FILES' ){
+ next;
+ } elsif ( $_=~ /missing_rootfile/ ){
+ print "Rootfile for $_ missing!\n";
+ } else {
+ open(DATEI, "<./log/$_") || die "File not found";
+ my @Lines = <DATEI>;
+ close(DATEI);
+
+ foreach (@Lines){
+ if ( $_ =~ /^\+/ ){$Found=1;}
+ }
+
+ if ($Found){
+ print "Changes in $_ check rootfile!\n";
+ }
+ }
}