openbsd-ports/www/p5-Plagger/patches/patch-lib_Plagger_Template_pm
simon a7663802f1 import p5-Plagger
Plagger is a pluggable RSS/Atom feed aggregator and remixer platform.

Everything is implemented as a small plugin and all you have to do is to
write a flow of aggregation, filters, syndication, publishing and
notification plugins into a config file (YAML).

ok jasper@
2007-10-10 19:36:22 +00:00

13 lines
578 B
Plaintext

$OpenBSD: patch-lib_Plagger_Template_pm,v 1.1.1.1 2007/10/10 19:36:22 simon Exp $
--- lib/Plagger/Template.pm.orig Fri Oct 5 11:08:05 2007
+++ lib/Plagger/Template.pm Fri Oct 5 11:08:26 2007
@@ -11,7 +11,7 @@ use Template::Stash::ForceUTF8;
sub new {
my($class, $context, $plugin) = @_;
- my $path = $context->conf->{assets_path} || catfile($FindBin::Bin, "assets");
+ my $path = $context->conf->{assets_path} || catfile('%%SHAREDIR%%', "assets");
my $paths = [ catfile($path, "plugins", $plugin->class_id),
catfile($path, "common") ];