openbsd-ports/mail/mailscanner/patches/patch-lib_bitdefender-autoupdate

13 lines
487 B
Plaintext
Raw Normal View History

$OpenBSD: patch-lib_bitdefender-autoupdate,v 1.1.1.1 2008/02/20 03:47:18 todd Exp $
--- lib/bitdefender-autoupdate.orig Mon Mar 20 17:48:20 2006
+++ lib/bitdefender-autoupdate Mon Mar 20 17:48:20 2006
@@ -107,7 +107,7 @@ use IO::File;
use Archive::Zip qw(:ERROR_CODES);
use Sys::Syslog;
-my $PackageDir = shift || "/opt/bdc";
+my $PackageDir = shift || "%PREFIX%/bdc";
# This is the maximum time allowed for the bdc --update command to run.
my $MaximumTime = 60*20; # 20 minutes