diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-14 07:26:22 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-14 07:26:22 +0000 |
commit | 2e12c0cd80aa2477f64d9443346f74f513803932 (patch) | |
tree | cdb06c5664c0a9dea7c2969029d6cca968306327 /mail/ricochet/files | |
parent | 5f043e6d2049cc7fca06e12e5a718ee99b1c9157 (diff) | |
download | FreeBSD-ports-2e12c0cd80aa2477f64d9443346f74f513803932.zip FreeBSD-ports-2e12c0cd80aa2477f64d9443346f74f513803932.tar.gz |
change -f to -d in patchfile.
bump port revision
PR: 32821
Submitted by: maintainer
Diffstat (limited to 'mail/ricochet/files')
-rw-r--r-- | mail/ricochet/files/patch-ricochet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/ricochet/files/patch-ricochet b/mail/ricochet/files/patch-ricochet index 267113b..41245c0 100644 --- a/mail/ricochet/files/patch-ricochet +++ b/mail/ricochet/files/patch-ricochet @@ -5,7 +5,7 @@ sub initialize { my $self = shift; - my $rc = "$ENV{RICOCHET}" || "$ENV{HOME}/.ricochet"; $rc .= "/ricochetrc"; -+ my $rc = "$ENV{RICOCHET}" || -f "$ENV{HOME}/.ricochet" ? "$ENV{HOME}/.ricochet" : "%%PREFIX%%/share/ricochet"; ++ 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); |