summaryrefslogtreecommitdiff
path: root/network/r2e/doinst.sh
blob: c9bb64c3d842c2dd0a65c183510159dd1f8701b3 (plain)
1
2
3
4
5
6
7
8
9
config() {
  NEW="$1"
  OLD="$(dirname $NEW)/$(basename $NEW .new)"
  [ ! -r $OLD ] && mv $NEW $OLD
  rm -f $NEW
}

config etc/r2e/config.py.new