diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-03-06 03:31:44 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-03-06 03:31:44 +0000 |
commit | 564fbcb2a6579b4395c5dd690ab27161abf9e83c (patch) | |
tree | 6bfe650c093b2c8a27b354665a516f4dd589f631 /mail/ricochet | |
parent | Missed files in previous commit. (diff) |
Oops, wrong version of this patch committed, fixed.
Notes
Notes:
svn path=/head/; revision=55614
Diffstat (limited to 'mail/ricochet')
-rw-r--r-- | mail/ricochet/files/patch-ricochet | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/mail/ricochet/files/patch-ricochet b/mail/ricochet/files/patch-ricochet index 2585c80387e8..c5d4253728fe 100644 --- a/mail/ricochet/files/patch-ricochet +++ b/mail/ricochet/files/patch-ricochet @@ -1,5 +1,5 @@ ---- ricochet.orig Wed Mar 6 06:10:54 2002 -+++ ricochet Wed Mar 6 06:12:13 2002 +--- ricochet.old Thu Feb 8 22:23:19 2001 ++++ ricochet Wed Mar 6 06:29:48 2002 @@ -233,7 +233,15 @@ unless ($hdata eq '') { $hdata =~ s/\n*$//; @@ -44,3 +44,13 @@ grep { if (_nslookup ($_)) { $auth = 1; +@@ -574,7 +595,8 @@ + + sub initialize { + my $self = shift; +- my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc"; ++ my $rc = "$ENV{RICOCHET}" || -d "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; ++ $rc .= "/ricochetrc"; + Carp::croak "** Ricochet configuration file $rc doesn't exist. Aborting.\n" unless -e $rc; + open (RC, $rc); + grep { |