summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-containers
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-03 22:50:19 +0000
committerKarl Berry <karl@freefriends.org>2008-07-03 22:50:19 +0000
commit08732c84c6bb7a5cca63f9d3f2a7395938fbf101 (patch)
tree144f3d96b0836ab3c66dc81f83df6dc806d37697 /Master/tlpkg/bin/tl-update-containers
parent453d81a8f3bf0958de6f1caa9626de2b73a14069 (diff)
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
Diffstat (limited to 'Master/tlpkg/bin/tl-update-containers')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers11
1 files changed, 2 insertions, 9 deletions
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;
}
}
}