From d7b1e13b9e93a6510af28b063b34eef2f227f9e1 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 12 Oct 2017 00:21:34 +1300 Subject: [PATCH] Fix generation of the ssh config file --- debian/changelog | 8 +++++++- debian/postinst | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) 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 -- 2.30.2