pkgsrc/mail/rss2email/patches/patch-ac

13 lines
334 B
Text

$NetBSD: patch-ac,v 1.2 2004/06/30 20:34:20 schmonz Exp $
--- r2e.orig 2004-06-30 16:28:15.000000000 -0400
+++ r2e
@@ -1,3 +1,7 @@
#!/bin/sh
+set -e
+if [ ! -d ~/.rss2email ]; then
+ mkdir ~/.rss2email
+fi
cd ~/.rss2email/
-exec python rss2email.py feeds.dat $*
+exec @PYTHONBIN@ @PREFIX@/share/rss2email/rss2email.py feeds.dat $*