File: find_bastille_affected_files.pl

package info (click to toggle)
bastille 1:1.3.0-2.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,576 kB
  • ctags: 397
  • sloc: perl: 8,407; sh: 1,879; ansic: 638; makefile: 203; csh: 17
file content (27 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/perl


 
use lib "/usr/lib";
push (@INC,"/usr/lib/perl5/site_perl/");
push (@INC,"/usr/lib/Bastille");  

use Bastille::API;

foreach $key (keys(%GLOBAL_BIN)) {
	unless ( -e $GLOBAL_BIN{$key} ) {
		print "Missing file for key $key\n";
	}
}

foreach $key (keys(%GLOBAL_FILE)) {
        unless ( -e $GLOBAL_FILE{$key} ) {
                print "Missing file for key $key\n";
        }
}
foreach $key (keys(%GLOBAL_DIR)) {
        unless ( -d $GLOBAL_DIR{$key} ) {
                print "Missing directory for key $key\n";
        }
}