Files
pkgsrc-ng/www/geeklog/patches/patch-aa
2013-09-26 17:14:40 +02:00

22 lines
581 B
Plaintext

$NetBSD: patch-aa,v 1.4 2009/09/13 01:15:11 taca Exp $
* Correct interpreter path.
--- emailgeeklogstories.orig 2008-12-14 18:57:36.000000000 +0900
+++ emailgeeklogstories
@@ -1,4 +1,4 @@
-#!/usr/local/bin/php -q
+#!@PREFIX@/bin/php -q
<?php
// This code snippet is responsible for emailing Geeklog stories to users
// for the topics they select.
@@ -9,7 +9,7 @@
// flags for this file.
// Change this path to point to your lib-common.php file
-include('/path/to/geeklog/lib-common.php');
+include('@PREFIX@/@GEEKLOG_PUB@/lib-common.php');
COM_emailUserTopics();
?>