Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rémy Oudompheng
texlive-localmanager
Commits
aae043a6
Commit
aae043a6
authored
Jan 26, 2010
by
Francois Charette
Browse files
Avoid spurious upstream updates!
parent
0d34d6c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tllocalmgr
View file @
aae043a6
...
...
@@ -351,12 +351,13 @@ sub run_status {
foreach
my
$col
(
sort
keys
%updatedcol_pkgs
)
{
print
LOG
"
- texlive-
$col
:
\n
";
print
BOLD
RED
"
texlive-
$col
:
\n
";
my
$colver
=
$installedcol_versions
{
$col
};
foreach
my
$pkg
(
sort
@
{
$updatedcol_pkgs
{
$col
}})
{
next
if
$locallyinstalledpkg_versions
{
$pkg
};
my
$newver
=
$tlpdb
->
package_revision
(
$pkg
);
if
(
$installedpkg_versions
{
$pkg
}
)
{
my
$oldver
=
$installedpkg_versions
{
$pkg
}
;
if
(
$newver
>
$oldver
)
{
if
(
$newver
>
$oldver
&&
$newver
>
$colver
)
{
print
GREEN
,
"
\t
$pkg
",
RESET
,
"
has been updated (
$oldver
=>
$newver
)
\n
";
print
LOG
"
\t
$pkg
has been updated (
$oldver
=>
$newver
)
\n
";
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment