diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-06-10 06:51:51 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-06-10 06:51:51 +0000 |
commit | af6a12a52e0905d3b329b7c32edc5a248c6d0461 (patch) | |
tree | 5af6446ea6d15a5f421d0970b425edea77c17cda /tools/syncrpms | |
parent | 6a71fd6cbac0694e2f5ab24ab65a4628c9be3835 (diff) | |
download | drakx-af6a12a52e0905d3b329b7c32edc5a248c6d0461.tar drakx-af6a12a52e0905d3b329b7c32edc5a248c6d0461.tar.gz drakx-af6a12a52e0905d3b329b7c32edc5a248c6d0461.tar.bz2 drakx-af6a12a52e0905d3b329b7c32edc5a248c6d0461.tar.xz drakx-af6a12a52e0905d3b329b7c32edc5a248c6d0461.zip |
english fix
Diffstat (limited to 'tools/syncrpms')
-rwxr-xr-x | tools/syncrpms | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/syncrpms b/tools/syncrpms index 946032e52..c33eee7c2 100755 --- a/tools/syncrpms +++ b/tools/syncrpms @@ -65,13 +65,13 @@ sub get_rpms { 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}; + print "you said rpms directory is sorted, so I keep obsoleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; } else { if (-d $flag->{conflict}) { - print "moving obseleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; + print "moving obsoleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; mv("$rpms->{$key}{dir}/$rpms->{$key}{file}", $flag->{conflict}); } elsif ($flag->{clean}) { - print "removing obseleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; + print "removing obsoleted $rpms->{$key}{file} by $_ in $rpms->{$key}{dir}\n" if $flag->{verbose}; rm("$rpms->{$key}{dir}/$rpms->{$key}{file}"); } } |