Link Here
|
1 |
#!/bin/sh |
1 |
#!/usr/bin/env sh |
|
|
2 |
if [ ! -e ~/.rss2email ]; |
3 |
then |
4 |
echo -n "initialising ~/.rss2email... " |
5 |
# if this fails (because we don't use -p) then something is really |
6 |
# wrong |
7 |
mkdir ~/.rss2email |
8 |
# make the directory only accessible, readable and writable to the |
9 |
# user |
10 |
chmod 700 ~/.rss2email |
11 |
cp /usr/share/rss2email/config.py.sample ~/.rss2email/config.py |
12 |
echo "done" |
13 |
echo "You should now configure rss2email by editing ~/.rss2email/config.py" |
14 |
fi |
15 |
|
2 |
cd ~/.rss2email/ |
16 |
cd ~/.rss2email/ |
3 |
python rss2email.py feeds.dat $* |
17 |
python /usr/share/rss2email/rss2email.py feeds.dat $* |