Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-24 Thread Guillem Jover
On Sat, 2013-08-24 at 22:54:25 +0200, Bastien ROUCARIES wrote: > Could we open a bug report about this ? I have an idea for improving > this kind of problem and it will help me. Not really, I'd most probably tag it wontfix and close it after a bit. There's so many things in the Debian packaging t

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-24 Thread Bastien ROUCARIES
On Sat, Aug 24, 2013 at 11:38 AM, Raphael Hertzog wrote: > On Fri, 23 Aug 2013, Bastien ROUCARIES wrote: >> Find -print0 >> >> And replacing read by read -r -d $'\0' is safer but I do not know if it is >> portable. >> >> Or xargs but we need to fork for each file and we get the portability >> prob

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-24 Thread Bastien ROUCARIES
control: clone -1 -2 control: retitle -1 "Handle in dpkg-maintscript-helper symlink to dir conversion" control: retitle -2 "Handle in dpkg-maintscript-helper dir to symlink conversion" control: tags -1 - patch control: tags -2 + patch control: tags -2 + confirmed On Sat, Aug 24, 2013 at 12:37 PM,

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-24 Thread Bastien ROUCARIES
Too ugly for living (?) but portable: writehex () { printf %b `printf %03o "$@"` ; } readonebyteinhexzero() { read dummy hex << EOF $(dd bs=1 count=1 2> /dev/null | od -t x1) EOF if test x"$hex" = "x" ; then return 77; fi if test $(expr length "$hex") = "1" ; then hex="0$hex"; fi if t

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-24 Thread Raphael Hertzog
On Fri, 23 Aug 2013, Bastien ROUCARIES wrote: > Find -print0 > > And replacing read by read -r -d $'\0' is safer but I do not know if it is > portable. > > Or xargs but we need to fork for each file and we get the portability > problem of find print0. > > What do you prefer ? find -print0 is fi

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-23 Thread Bastien ROUCARIES
Le 23 août 2013 20:40, "Bastien ROUCARIES" a écrit : > > Le 21 août 2013 08:04, "Raphael Hertzog" a écrit : > > > > > Hi, > > > > On Tue, 20 Aug 2013, Bastien ROUCARIES wrote: > > > > A possible way to do this could be: > > > > * Move the directory away in preinst (.dpkg-backup), put in place a s

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-23 Thread Bastien ROUCARIES
Le 21 août 2013 08:04, "Raphael Hertzog" a écrit : > > Hi, > > On Tue, 20 Aug 2013, Bastien ROUCARIES wrote: > > > A possible way to do this could be: > > > * Move the directory away in preinst (.dpkg-backup), put in place a symlink > > > pointing to the renamed directory > > ok this is easy > >

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Raphael Hertzog
Hi, On Tue, 20 Aug 2013, Bastien ROUCARIES wrote: > > A possible way to do this could be: > > * Move the directory away in preinst (.dpkg-backup), put in place a > > symlink > > pointing to the renamed directory > ok this is easy > > * In postinst, move remaining files from the temporary direct

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Guillem Jover
On Wed, 2013-08-21 at 00:08:19 +0200, Guillem Jover wrote: > On Tue, 2013-08-20 at 23:38:57 +0200, Bastien ROUCARIES wrote: > > Joined here > > Thanks, I've squashed the man page update to the local commit, and > fixed some issues, like typo and wording stuff, and references to > conffiles, and th

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Guillem Jover
On Tue, 2013-08-20 at 23:38:57 +0200, Bastien ROUCARIES wrote: > Joined here Thanks, I've squashed the man page update to the local commit, and fixed some issues, like typo and wording stuff, and references to conffiles, and the non-existent package name. Thanks, Guillem -- To UNSUBSCRIBE, ema

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Bastien ROUCARIES
-- Forwarded message -- From: Bastien ROUCARIES Date: Tue, Aug 20, 2013 at 11:38 PM Subject: Re: Bug#583585: [dpkg] Any news ? To: Raphael Hertzog On Tue, Aug 20, 2013 at 10:50 PM, Raphael Hertzog wrote: > Hi, > > On Tue, 20 Aug 2013, Bastien ROUCARIES wrote: >> Now that symlin