From 08732c84c6bb7a5cca63f9d3f2a7395938fbf101 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 3 Jul 2008 22:50:19 +0000 Subject: remove --force option; instead, always continue in the face of wrongly-older revisions -- not worth dying for. git-svn-id: svn://tug.org/texlive/trunk@9204 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-containers | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-containers') diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers index ffda46f7373..a0dd6cc98b2 100755 --- a/Master/tlpkg/bin/tl-update-containers +++ b/Master/tlpkg/bin/tl-update-containers @@ -27,12 +27,10 @@ our $mydir; my $opt_location = "."; my $opt_relative = 0; my $opt_recreate = 0; -my $opt_force = 0; my $help = 0; TeXLive::TLUtils::process_logging_options(); GetOptions( - "force" => \$opt_force, "location=s" => \$opt_location, "recreate" => \$opt_recreate, "help|?" => \$help) or pod2usage(1); @@ -123,15 +121,10 @@ sub main push @todopacks, $pkg; $count{"updated"}++ if $oldrev; } else { - my $warnstring = "This shouldn't happen! The revision of $pkg in texlive.tlpdb" + warn "This shouldn't happen! The revision of $pkg in texlive.tlpdb" . "($newrev) is OLDER than the one in" . "$opt_location/tlpkg/texlive.tlpdb ($oldrev)"; - if ($opt_force) { - push @todopacks, $pkg; - tlwarn($warnstring . "\nContinuing due to --force option!\n"); - } else { - die ($warnstring . ", goodbye"); - } + push @todopacks, $pkg; } } } -- cgit v1.2.3