tag 424639 +patch
thanks

Patch attached.  Tested OK for me.

- Matt
Wed Dec 12 12:24:19 EST 2007  Matt Palmer <[EMAIL PROTECTED]>
  * rdiff-backup: Incorporate sshoptions into options via remote-schema if it 
isn't already specified
diff -rN -u old-sol1.debian/handlers/rdiff.in new-sol1.debian/handlers/rdiff.in
--- old-sol1.debian/handlers/rdiff.in   2007-12-12 12:39:18.124257253 +1100
+++ new-sol1.debian/handlers/rdiff.in   2007-12-12 12:39:18.136258027 +1100
@@ -101,6 +101,10 @@
 getconf sshoptions
 check_consistency "destination" "$type" "$user" "$host"
 
+if [ -n "$sshoptions" ] && echo $options | grep -qv "remote-schema"; then
+       options="$options --remote-schema 'ssh -C $sshoptions %s rdiff-backup 
--server'"
+fi
+
 ### CHECK CONFIG ###
 
 # If vservers are configured, check that the ones listed in $vsnames do exist.

Reply via email to