updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fwsnort / install_pl.patch
blobb9cfb4a33ea6d4c55b1141a80c237b2eacfd3f21
1 --- install.pl 2011-02-05 05:02:38.845785881 -0700
2 +++ install2.pl 2011-02-05 05:03:21.350360881 -0700
3 @@ -120,10 +120,6 @@
4 ### make sure the system binaries are where we think they are.
5 &check_commands();
7 -### check to make sure we are running as root
8 -$< == 0 && $> == 0 or die "You need to be root (or equivalent UID 0",
9 - " account) to install/uninstall fwsnort!\n";
11 if ($uninstall) {
12 &uninstall();
13 } else {
14 --- install.pl 2011-01-02 18:38:51.000000000 -0700
15 +++ install2.pl 2011-02-05 04:59:01.653910881 -0700
16 @@ -471,8 +471,11 @@
17 sub check_commands() {
18 my @path = qw(
19 /bin
20 + /sbin
21 /usr/bin
22 + /usr/sbin
23 /usr/local/bin
24 + /usr/local/sbin
26 CMD: for my $cmd (keys %cmds) {
27 unless (-x $cmds{$cmd}) {