diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-01-06 09:56:59 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-01-06 09:56:59 +0000 |
commit | 3846549563efa0f3d0801dcc604be327ecee6164 (patch) | |
tree | fde11b47f64fd8eccaf928261abaf5977b96d9dd /emi | |
parent | 33d958b0baaefc41df3daee70a8483e4703f309b (diff) | |
download | iurt-3846549563efa0f3d0801dcc604be327ecee6164.tar iurt-3846549563efa0f3d0801dcc604be327ecee6164.tar.gz iurt-3846549563efa0f3d0801dcc604be327ecee6164.tar.bz2 iurt-3846549563efa0f3d0801dcc604be327ecee6164.tar.xz iurt-3846549563efa0f3d0801dcc604be327ecee6164.zip |
No need to sudo, emi is running with correct user already
Diffstat (limited to 'emi')
-rwxr-xr-x | emi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -221,8 +221,7 @@ foreach my $prefix (keys %pkg_tree) { $user ||= $config->{upload_user}; - - my $command = "/usr/bin/sudo -H -u $config->{upload_user} /usr/bin/perl -I/usr/share/mdv-youri-core/lib -I/usr/share/mdv-youri-submit/lib /usr/share/mdv-youri-submit/bin/youri-submit --verbose --config /etc/youri/submit-queue.conf --define user=$user --define prefix=$prefix --define section=$section $target @packages &> $done/$path/$prefix.youri"; + my $command = "/usr/bin/perl -I/usr/share/mdv-youri-core/lib -I/usr/share/mdv-youri-submit/lib /usr/share/mdv-youri-submit/bin/youri-submit --verbose --config /etc/youri/submit-queue.conf --define user=$user --define prefix=$prefix --define section=$section $target @packages &> $done/$path/$prefix.youri"; plog('DEBUG', "running $command"); if (!system($command)) { |