summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-09-13 18:06:43 +0000
committerNorbert Preining <preining@logic.at>2009-09-13 18:06:43 +0000
commit0cbce46e95fac68cb0d058729db89dd195d24638 (patch)
treeecc907de89283d21bbf68e77b7479b269bd7d8e4 /Master/texmf
parent3ddb2532e7f0326f60c8e7da17193307db58bde7 (diff)
do honor machine-readable on auto-remove lines
git-svn-id: svn://tug.org/texlive/trunk@15261 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 9b2672b1682..021a4ec5c2d 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -1992,7 +1992,11 @@ sub action_update {
# - $opts{"list"} is *not* set
# we have to check in addition that
# - $opts{"dry-run"} is not set
- info("[$currnr/$totalnr] auto-remove: $p\n");
+ if ($::machinereadable) {
+ machine_line($p, $FLAG_REMOVE, $rev, "-", "-", "-");
+ } else {
+ info("[$currnr/$totalnr] auto-remove: $p\n");
+ }
if (!$opts{"dry-run"}) {
$localtlmedia->remove_package($p);
logpackage("remove: $p");