[Buildd-tools-devel] Removing strict distribution check
Andreas Barth
aba@not.so.argh.org
Mon, 6 Dec 2004 19:07:27 +0100
* Francesco Paolo Lovergine (frankie@debian.org) [041206 19:00]:
> On Mon, Dec 06, 2004 at 06:44:08PM +0100, Michael Banck wrote:
> > $main::distribution = "unstable" if $main::distribution eq "u";
> > - die "Bad distribution\n"
> > - if !isin($main::distribution, keys(%main::dist_order));
> > }
> > elsif (/^-p/ || /^--purge/) {
> > if (/^-p(.)/ || /^--purge=(.)/) {
> It seems ok for me.
One of the reasons why I heavily disagree is that you could quite easily
install (or purge) some packages in your normal file tree by a little
spelling error. No, please leave that sanity check there, and use the
dist_order config variable as config variable.
Cheers,
Andi
--
http://home.arcor.de/andreas-barth/
PGP 1024/89FB5CE5 DC F1 85 6D A6 45 9C 0F 3B BE F1 D0 C5 D1 D9 0C