diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-15 11:07:44 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-15 11:07:44 -0500 |
commit | ceb71fa7012f347bd15179693d2484c1b5418505 (patch) | |
tree | 1eca7f8923823f94aa9a6cd295d0c0017c47c059 /pcr/fwsnort/install_pl.patch | |
parent | b1c72d09dd64bffc2fa820bf0927623efc8a394f (diff) | |
parent | ecc0a835e2453a8d44a08883bcd3b3f753ffce47 (diff) | |
download | abslibre-ceb71fa7012f347bd15179693d2484c1b5418505.tar.gz abslibre-ceb71fa7012f347bd15179693d2484c1b5418505.tar.bz2 abslibre-ceb71fa7012f347bd15179693d2484c1b5418505.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/fwsnort/install_pl.patch')
-rw-r--r-- | pcr/fwsnort/install_pl.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/fwsnort/install_pl.patch b/pcr/fwsnort/install_pl.patch new file mode 100644 index 000000000..b9cfb4a33 --- /dev/null +++ b/pcr/fwsnort/install_pl.patch @@ -0,0 +1,27 @@ +--- install.pl 2011-02-05 05:02:38.845785881 -0700 ++++ install2.pl 2011-02-05 05:03:21.350360881 -0700 +@@ -120,10 +120,6 @@ + ### make sure the system binaries are where we think they are. + &check_commands(); + +-### check to make sure we are running as root +-$< == 0 && $> == 0 or die "You need to be root (or equivalent UID 0", +- " account) to install/uninstall fwsnort!\n"; +- + if ($uninstall) { + &uninstall(); + } else { +--- install.pl 2011-01-02 18:38:51.000000000 -0700 ++++ install2.pl 2011-02-05 04:59:01.653910881 -0700 +@@ -471,8 +471,11 @@ + sub check_commands() { + my @path = qw( + /bin ++ /sbin + /usr/bin ++ /usr/sbin + /usr/local/bin ++ /usr/local/sbin + ); + CMD: for my $cmd (keys %cmds) { + unless (-x $cmds{$cmd}) { |