aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Submit/Action/UpdateMaintDb.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Action/UpdateMaintDb.pm b/lib/Youri/Submit/Action/UpdateMaintDb.pm
index e9fe49a..10eed21 100644
--- a/lib/Youri/Submit/Action/UpdateMaintDb.pm
+++ b/lib/Youri/Submit/Action/UpdateMaintDb.pm
@@ -44,8 +44,7 @@ sub run {
unless ($self->{_test}) {
my $pkg_name = $package->get_name();
my $pkg_media = $repository->_get_main_section($package, $target, $define);
- $package->get_packager() =~ m/(\w[-_.\w]+\@[-_.\w]+)\W/;
- my $pkg_commiter = $1;
+ my $pkg_commiter = $define->{user};
my $ua = LWP::UserAgent->new;
$ua->agent('Youri/0.1 ' . $ua->agent);