diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Youri/Upload/Check/Recency.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Upload/Check/Recency.pm b/lib/Youri/Upload/Check/Recency.pm index 7e598bf..5ec7995 100644 --- a/lib/Youri/Upload/Check/Recency.pm +++ b/lib/Youri/Upload/Check/Recency.pm @@ -23,14 +23,14 @@ sub run { my $file = $repository->get_install_file($package, $target, $define); if (-f $file) { - $self->{_error} = "Current revision already exists for $target"; + $self->{_error} = "Current revision of package $package already exists for $target"; return 0; } my @newer_revisions = $repository->get_newer_revisions($package, $target, $define); if (@newer_revisions) { - $self->{_error} = "Newer revisions already exists for $target: " . join(', ', @newer_revisions); + $self->{_error} = "Newer revisions of package $package already exists for $target: " . join(', ', @newer_revisions); return 0; } |