On Sat, 2009-10-10 at 17:19:00 +0300, Eugene V. Lyubimkin wrote: > Guillem Jover wrote: > > On Sat, 2009-10-10 at 15:01:49 +0300, Eugene V. Lyubimkin wrote: > >> Package: dpkg > >> Version: 1.15.4 > >> Severity: wishlist > >> File: /usr/bin/dpkg-deb > >> > >> Please support an environment variable like 'DPKG_BUILD_COMPRESSION_TYPE' > >> to set default value for -Z option. > > > > What's the situation you'd use it instead of the command line option?
> Hi, in the situations when I don't call dpkg-deb directly. My situation: I > have a program that calls dpkg-repack which calls 'dpkg --build'. If I want to > allow user to change the compression format of .debs on the final output, I > should implement an option to my program, then convince dpkg-repack to have > that option... Having an environment variable would work much easier. Easier sure, but I don't think that's the right solution in this particular case. Adding -z and -Z pass-through support in dpkg-repack would be worthwhile by itself. regards, guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

