]> gitweb.fluxo.info Git - backupninja.git/commitdiff
Run duplicity in a C locales environment (Closes: #736280).
authorintrigeri <intrigeri@boum.org>
Sat, 1 Mar 2014 11:54:34 +0000 (11:54 +0000)
committerintrigeri <intrigeri@boum.org>
Sat, 1 Mar 2014 11:56:11 +0000 (11:56 +0000)
This workarounds a bug in duplicity. Quoting the reporter (thanks, Jonathan
Dupart <jonathan@dupart.org>, for the detailed report and initial patch):

The duplicity backend is broken when the gpg ecryption is set up and the
system default locale is not english (or C).

The bug reports on duplicity are here :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565398
https://bugs.launchpad.net/duplicity/+bug/510625

handlers/dup.in

index 3ffe9311d02b1e77527ae2f3df1b1c719f0e6bb5..3c586c6aa92ba3b1f71905ec823af52123989538 100644 (file)
@@ -104,7 +104,7 @@ fi
 ### COMMAND-LINE MANGLING ######################################################
 
 ### initialize $execstr*
-execstr_precmd=
+execstr_precmd='LC_ALL=C'
 execstr_command=
 execstr_options="$options --no-print-statistics"
 execstr_source=