aboutsummaryrefslogtreecommitdiffstats
path: root/emi
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-01-06 09:56:59 +0000
committerPascal Terjan <pterjan@mageia.org>2011-01-06 09:56:59 +0000
commit3846549563efa0f3d0801dcc604be327ecee6164 (patch)
treefde11b47f64fd8eccaf928261abaf5977b96d9dd /emi
parent33d958b0baaefc41df3daee70a8483e4703f309b (diff)
downloadiurt-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-xemi3
1 files changed, 1 insertions, 2 deletions
diff --git a/emi b/emi
index 56c8329..d537920 100755
--- a/emi
+++ b/emi
@@ -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)) {