aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xemi12
-rw-r--r--lib/Iurt/Emi.pm2
2 files changed, 0 insertions, 14 deletions
diff --git a/emi b/emi
index 028fc4e..e697e4a 100755
--- a/emi
+++ b/emi
@@ -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)) {