Bug#975562: odd no-op in debian patch

2020-11-23 Thread Antoine Beaupré
On 2020-11-23 13:49:23, Joey Hess wrote: > Antoine Beaupré wrote: >> --- a/etckeeper >> +++ b/etckeeper >> @@ -54,6 +54,10 @@ fi >> if [ ! -z "$AVOID_SPECIAL_FILE_WARNING" ]; then >> export AVOID_SPECIAL_FILE_WARNING >> fi >> +if [ -z "$LANG" ]; then >> +# Default to UTF8 encoding, if

Bug#975562: odd no-op in debian patch

2020-11-23 Thread Joey Hess
Antoine Beaupré wrote: > --- a/etckeeper > +++ b/etckeeper > @@ -54,6 +54,10 @@ fi > if [ ! -z "$AVOID_SPECIAL_FILE_WARNING" ]; then > export AVOID_SPECIAL_FILE_WARNING > fi > +if [ -z "$LANG" ]; then > + # Default to UTF8 encoding, if unset > + export LANG=C.UTF-8 > +fi That is

Bug#975562: odd no-op in debian patch

2020-11-23 Thread Antoine Beaupré
On 2020-11-23 12:22:46, Joey Hess wrote: > Package: etckeeper > Version: 1.18.15 > Severity: normal > > +if [ -z "en_GB.UTF-8" ]; then > + # Default to UTF8 encoding, if unset > + export LANG=C.UTF-8 > +fi > > I'm fairly sure it's impossible for this part of the debian patch to do > an

Bug#975562: odd no-op in debian patch

2020-11-23 Thread Joey Hess
Package: etckeeper Version: 1.18.15 Severity: normal +if [ -z "en_GB.UTF-8" ]; then + # Default to UTF8 encoding, if unset + export LANG=C.UTF-8 +fi I'm fairly sure it's impossible for this part of the debian patch to do anything.. -- System Information: Debian Release: bullseye/sid