aboutsummaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-09-09 09:28:28 +0200
committerGuido Günther <agx@sigxcpu.org>2014-09-09 10:01:40 +0200
commit47c0bfac068a998afbd3cbe0f145cc96ed618927 (patch)
tree85678f52f4d3281484e59436dae8ed1c9d861bb9 /debian/postinst
parent29a804d527b85ae3bdcbd1a823065c75cf1debce (diff)
Don't create backup copies of 20services
and remove them if existent Thanks: Johannes Hubertz for pointing this out
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 9965480..8a56265 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -30,7 +30,7 @@ EOF
"true") VAL=1;;
*) VAL=0;;
esac
- sed -ie "s,^\(\s*Whatmaps::Enable-Restart\s\+\"\)\S\+\(\"\s*;\),\1${VAL}\2," $APT_CONF
+ sed -i -e "s,^\(\s*Whatmaps::Enable-Restart\s\+\"\)\S\+\(\"\s*;\),\1${VAL}\2," $APT_CONF
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)