diff options
author | Francois Pons <fpons@mandriva.com> | 2001-07-25 09:06:35 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-07-25 09:06:35 +0000 |
commit | e00f0405faf8edc53fcae09888e45a87f86b01a9 (patch) | |
tree | 32154cd20461d63e0a83d62628035f6ea1021806 | |
parent | ee0a30f1cc747b64d28731c07253d9eb04c0e028 (diff) | |
download | drakx-e00f0405faf8edc53fcae09888e45a87f86b01a9.tar drakx-e00f0405faf8edc53fcae09888e45a87f86b01a9.tar.gz drakx-e00f0405faf8edc53fcae09888e45a87f86b01a9.tar.bz2 drakx-e00f0405faf8edc53fcae09888e45a87f86b01a9.tar.xz drakx-e00f0405faf8edc53fcae09888e45a87f86b01a9.zip |
fixed still missing rpmtools:: before a version_compare ...
-rwxr-xr-x | tools/syncrpms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syncrpms b/tools/syncrpms index 891474b8b..946032e52 100755 --- a/tools/syncrpms +++ b/tools/syncrpms @@ -62,7 +62,7 @@ sub get_rpms { my $key = "$1 $4"; #- get name including architecture. if ($rpms->{$key}) { if (rpmtools::version_compare($2, $rpms->{$key}{version}) > 0 || - rpmtools::version_compare($2, $rpms->{$key}{version}) == 0 && version_compare($3, $rpms->{$key}{release}) > 0) { + rpmtools::version_compare($2, $rpms->{$key}{version}) == 0 && rpmtools::version_compare($3, $rpms->{$key}{release}) > 0) { if ($modifiable) { if ($flag->{sorted}) { print "you said rpms directory are sorted, so I keep obseleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; |