diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-02-15 19:48:33 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-02-15 19:51:47 +0000 |
commit | 0bb06ed29c110447435240ea9b101cfc991a23f0 (patch) | |
tree | f63ba8c4bd67677888a4e639b00b06c2404f4b36 | |
parent | 3922e195b7df0fb4dbcc0754f8ae2bd0e6f66a1f (diff) | |
download | iurt-0bb06ed29c110447435240ea9b101cfc991a23f0.tar iurt-0bb06ed29c110447435240ea9b101cfc991a23f0.tar.gz iurt-0bb06ed29c110447435240ea9b101cfc991a23f0.tar.bz2 iurt-0bb06ed29c110447435240ea9b101cfc991a23f0.tar.xz iurt-0bb06ed29c110447435240ea9b101cfc991a23f0.zip |
Delete unused options
-rwxr-xr-x | emi | 12 | ||||
-rw-r--r-- | lib/Iurt/Emi.pm | 2 |
2 files changed, 0 insertions, 14 deletions
@@ -81,22 +81,10 @@ my %config_usage = ( desc => "Temporary directory", default => "$HOME/tmp" }, - root => { - desc => 'Architecture root dir', - default => "/mnt/BIG/dis/" - }, - upload_user => { - desc => 'User who is uploading packages', - default => 'mandrake' - }, queue => { desc => 'root directory of the various upload queues', default => "$HOME/uploads" }, - ssh_option => { - desc => "SSH options", - default => "-o ConectTimeout=20" - }, ); config_usage(\%config_usage, $config) if $run{config_usage}; diff --git a/lib/Iurt/Emi.pm b/lib/Iurt/Emi.pm index ac385de..ee87526 100644 --- a/lib/Iurt/Emi.pm +++ b/lib/Iurt/Emi.pm @@ -155,8 +155,6 @@ sub upload_prefix_in_media { # This should not happen :( return unless @packages; - $user ||= $config->{upload_user}; - my $command = generate_upload_command($prefix, $media, $target, $user, \@packages, $o_finish, "$done$path/$youri_file"); plog('DEBUG', "running $command"); if (!system($command)) { |