summaryrefslogtreecommitdiff
path: root/network/r2e/doinst.sh
diff options
context:
space:
mode:
authorTom Canich <tcanich@canich.net>2010-05-12 23:32:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:32:44 +0200
commita064d3cbf35c2dbc87ead3a5886ae82d3ec204aa (patch)
treec7beafade44a101457e43ad7d75a6302a1efc091 /network/r2e/doinst.sh
parent5b1ea29fbf4e6d32be642af3e33cf1c310237120 (diff)
downloadslackbuilds-a064d3cbf35c2dbc87ead3a5886ae82d3ec204aa.tar.gz
network/r2e: Added to 12.2 repository
Diffstat (limited to 'network/r2e/doinst.sh')
-rw-r--r--network/r2e/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/r2e/doinst.sh b/network/r2e/doinst.sh
new file mode 100644
index 0000000000..c9bb64c3d8
--- /dev/null
+++ b/network/r2e/doinst.sh
@@ -0,0 +1,9 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ [ ! -r $OLD ] && mv $NEW $OLD
+ rm -f $NEW
+}
+
+config etc/r2e/config.py.new
+