12ebd1daaf
Bricolage is a full-featured, enterprise-class content management system. It offers a browser-based interface for ease-of use, full-fledged templating systems with complete programming language support for flexibility, and many other features. It operates in an Apache/mod_perl environment, and uses the PostgreSQL RDBMS for its repository. WWW: http://www.bricolage.cc/
24 lines
943 B
Plaintext
24 lines
943 B
Plaintext
$OpenBSD: patch-bin_bric_clean_tmp,v 1.1.1.1 2006/11/10 17:04:37 sturm Exp $
|
|
--- bin/bric_clean_tmp.orig Sun Oct 22 10:32:13 2006
|
|
+++ bin/bric_clean_tmp Sun Oct 22 10:33:02 2006
|
|
@@ -12,7 +12,7 @@ bric_clean_tmp - Bricolage temp director
|
|
This script is designed to be run from cron. To run it nightly at 2am put a like
|
|
like this in the crontab for the web server user (often "nobody"):
|
|
|
|
- 0 2 * * * /usr/local/bricolage/bin/bric_clean_tmp
|
|
+ 0 2 * * * %%PREFIX%%/bin/bric_clean_tmp
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
@@ -29,8 +29,8 @@ Sam Tregar <stregar@about-inc.com>
|
|
use File::Spec::Functions qw(catdir);
|
|
|
|
BEGIN {
|
|
- # $BRICOLAGE_ROOT defaults to /usr/local/bricolage
|
|
- $ENV{BRICOLAGE_ROOT} ||= "/usr/local/bricolage";
|
|
+ # $BRICOLAGE_ROOT defaults to %%PREFIX%%/share/bricolage
|
|
+ $ENV{BRICOLAGE_ROOT} ||= "%%PREFIX%%/share/bricolage";
|
|
|
|
# use $BRICOLAGE_ROOT/lib if exists
|
|
my $lib = catdir($ENV{BRICOLAGE_ROOT}, "lib");
|