aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-10-12 08:50:32 +0000
committerFlorent Villard <warly@mandriva.com>2006-10-12 08:50:32 +0000
commit744469dfea7a6df1acb49f13f2637ea7671ba7f0 (patch)
tree4baf18e711196fe089f43bb2a8d0d38fb793d1ed
parent0c56d657b96fcdaac01befe62cd81e1f9a81d710 (diff)
downloadmga-youri-core-744469dfea7a6df1acb49f13f2637ea7671ba7f0.tar
mga-youri-core-744469dfea7a6df1acb49f13f2637ea7671ba7f0.tar.gz
mga-youri-core-744469dfea7a6df1acb49f13f2637ea7671ba7f0.tar.bz2
mga-youri-core-744469dfea7a6df1acb49f13f2637ea7671ba7f0.tar.xz
mga-youri-core-744469dfea7a6df1acb49f13f2637ea7671ba7f0.zip
use $file instead of $package to know there the package is located
-rw-r--r--lib/Youri/Upload/Check/Recency.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Upload/Check/Recency.pm b/lib/Youri/Upload/Check/Recency.pm
index 5ec7995..58452a6 100644
--- a/lib/Youri/Upload/Check/Recency.pm
+++ b/lib/Youri/Upload/Check/Recency.pm
@@ -23,7 +23,7 @@ sub run {
my $file = $repository->get_install_file($package, $target, $define);
if (-f $file) {
- $self->{_error} = "Current revision of package $package already exists for $target";
+ $self->{_error} = "Current revision of package $file already exists for $target";
return 0;
}