ports/mail/rss2email2/files/patch-r2e
John Marino 3cb96b5bc5 Move mail/rss2email => mail/rss2email2
This is done to avoid confusion with mail/rss2email3.  Also update the
conflicts line of rss2email3 that broke with the recent update of
mail/rss2email.  This is the second part of the PR.

PR:		190381
Submitted by:	Stephen Guglielmo
2014-08-19 12:26:49 +00:00

11 lines
290 B
Text

--- r2e.orig 2010-10-14 16:54:13.000000000 +0000
+++ r2e 2010-10-14 17:00:36.000000000 +0000
@@ -1,2 +1,7 @@
#!/bin/sh
-python rss2email.py feeds.dat $*
+set -e
+if [ ! -d ~/.rss2email ]; then
+ mkdir ~/.rss2email
+fi
+cd ~/.rss2email
+exec @PYTHONCMD@ @DATADIR@/rss2email.py feeds.dat $*