]> git.etc.gen.nz Git - etc-obnam.git/commitdiff
Fix generation of the ssh config file v0.10.2
authorAndrew Ruthven <andrew@etc.gen.nz>
Wed, 11 Oct 2017 11:21:34 +0000 (00:21 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Wed, 11 Oct 2017 11:21:34 +0000 (00:21 +1300)
debian/changelog
debian/postinst

index 0373fd8208444d3679e0091f0510e7be7bca3d67..ef09f1c0a659148178bc810511c57241a038328e 100644 (file)
@@ -1,8 +1,14 @@
+etc-bup (0.10.2) unstable; urgency=medium
+
+  * echo in dash honours escape characters
+
+ -- Andrew Ruthven <andrew@etc.gen.nz>  Thu, 12 Oct 2017 00:20:43 +1300
+
 etc-bup (0.10.1) unstable; urgency=medium
 
   * Minor fixes
 
- -- Andrew Ruthven <puck@etc.gen.nz>  Thu, 12 Oct 2017 00:15:03 +1300
+ -- Andrew Ruthven <andrew@etc.gen.nz>  Thu, 12 Oct 2017 00:15:03 +1300
 
 etc-bup (0.10) unstable; urgency=medium
 
index 83bb221480beab1e38e8a5bbef67a62ddffaaf58..19e3f6a992e457687fce9bcf5bf8d72fee8ca337 100644 (file)
@@ -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