From: Andrew Ruthven Date: Wed, 11 Oct 2017 11:21:34 +0000 (+1300) Subject: Fix generation of the ssh config file X-Git-Tag: v0.10.2 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b1e13b9e93a6510af28b063b34eef2f227f9e1;p=etc-obnam.git Fix generation of the ssh config file --- diff --git a/debian/changelog b/debian/changelog index 0373fd8..ef09f1c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ +etc-bup (0.10.2) unstable; urgency=medium + + * echo in dash honours escape characters + + -- Andrew Ruthven Thu, 12 Oct 2017 00:20:43 +1300 + etc-bup (0.10.1) unstable; urgency=medium * Minor fixes - -- Andrew Ruthven Thu, 12 Oct 2017 00:15:03 +1300 + -- Andrew Ruthven Thu, 12 Oct 2017 00:15:03 +1300 etc-bup (0.10) unstable; urgency=medium diff --git a/debian/postinst b/debian/postinst index 83bb221..19e3f6a 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/dash # postinst script for etc-bup # # see: dh_installdeb(1) @@ -99,7 +99,7 @@ case "$1" in if ! grep -q $SSHCONFIG /root/.ssh/config; then [ -d /root/.ssh/config ] || mkdir -p /root/.ssh - echo -e "\n\nInclude $SSHCONFIG" >> /root/.ssh/config + echo "\n\nInclude $SSHCONFIG" >> /root/.ssh/config fi if [ ! -f /etc/$PACKAGEid_rsa ]; then