updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / psad / psad.patch1
blob27fbf010088ebe3b72a288324406becc702e8771
1 diff -aur src/psad-2.1.5/install.pl src2/psad-2.1.5/install.pl
2 --- psad-2.1.5/install.pl       2008-08-14 21:06:54.000000000 -0400
3 +++ psad-2.1.5/install.pl       2010-01-20 01:16:38.000000000 -0500
4 @@ -710,6 +710,8 @@
5          $init_file = 'init-scripts/psad-init.fedora';
6      } elsif ($distro eq 'gentoo') {
7          $init_file = 'init-scripts/psad-init.gentoo';
8 +    } elsif ($distro eq 'archlinux') {
9 +        $init_file = 'init-scripts/psad-init.archlinux';
10      } else {
11          $init_file = 'init-scripts/psad-init.generic';
12      }
13 @@ -1626,6 +1628,7 @@
15  sub get_distro() {
16      return 'gentoo' if -e '/etc/gentoo-release';
17 +    return 'archlinux' if -e '/etc/arch-release';
18      if (-e '/etc/issue') {
19          ### Red Hat Linux release 6.2 (Zoot)
20          open ISSUE, '< /etc/issue' or