Hi! * Hideki Yamane <henr...@debian.or.jp> [2010-04-14 14:56:15 CEST]: > On Mon, 1 Mar 2010 22:54:39 +0100 > Gerfried Fuchs <rho...@deb.at> wrote: > > Please try though to settle for ther former suggestion of coordinating > > updates through volatile, and use the dpkg-divert approach only as last > > ressort. Also, what are your suggestions to fix the issue in stable? > > Yes, dpkg-divert is smart way. I've tried to fix this with attached patch. > Could you check it, please?
I'm still not convinced that this is the best option, my "use the dpkg-divert approach only as last ressort" statement still stands. Said that, I would rather do in the postrm something like: #v+ for CITY in $(dpkg-divert --list | grep ' by tz-brasil$' | awk '{print $3}'); do dpkg-divert --package tz-brasil --rename --remove $CITY done #v- That way you won't have any files left and no need to duplicate the citylist in both maintainer scripts in case it would need to get changed. It has though one small issue: Won't work with spaces in filenames - but I doubt that those happen in tzdata (yeah, I know it - famous last words and such). Also, curious, why move the set -e to after defining the variables? :) And I personally don't consider it good style to convert a package's source format in an NMU - please try to avoid such things. Thanks, Rhonda -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org