diff options
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,8 +86,8 @@ if ($o{LOGIN} && $o{PASS} && $o{LOGIN} !~ /\s+/ && $o{PASS} !~ /\s+/) { $c2h->{FTP} = 'ftp://ftp.lip6.fr/pub/linux/distributions/mandrake/updates'; addMedia($c2h->{FTP}) } $scheduled = join(',',@{$c2h->{sched}}); - $noscheduled = join(',',@{$c2h->{nosched}}); $noscheduled = s/.rpm//; - print "SCHEDULED = $scheduled\n; NOSCHEDULED = $noscheduled\n"; + $noscheduled = join(',',@{$c2h->{nosched}}); $noscheduled =~ s/\.rpm//g; + printf "SCHEDULED = $scheduled\n; NOSCHEDULED = $noscheduled\n"; if ($opt eq '--applet') { system "MandrakeUpdate","--media=mdkupdate","--pkg-sel=$scheduled","--pkg-nosel=$nosheduled"; } elsif ($opt eq '--auto') { |