aboutsummaryrefslogtreecommitdiff
path: root/network/r2e/doinst.sh
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2016-09-28 09:05:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:17:17 +0700
commit109b2f018af8e4c87e4c793c7c03dfab919fc450 (patch)
treedcd87de986c44dad4e8fc785a32aceb421bf6296 /network/r2e/doinst.sh
parent3d3965883a3f7087769a8c563f37e3569b0e071f (diff)
network/r2e: Updated for version 2.71 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/r2e/doinst.sh')
-rw-r--r--network/r2e/doinst.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/network/r2e/doinst.sh b/network/r2e/doinst.sh
index c9bb64c3d842..b8ba97c4b323 100644
--- a/network/r2e/doinst.sh
+++ b/network/r2e/doinst.sh
@@ -1,9 +1,12 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- [ ! -r $OLD ] && mv $NEW $OLD
- rm -f $NEW
-}
+if [ -d /etc/r2e ]; then
+ cat << EOF > /etc/r2e/README.config
+Starting version 2.71 to customize r2e please edit config.py in your
+user directory ~/.rss2email
-config etc/r2e/config.py.new
+File /etc/r2e/config.py is not used anymore. The directory /etc/r2e
+can safely be removed.
+See /usr/doc/config.py.example for a full list of available
+configuration variables.
+EOF
+fi