diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-03-19 16:14:41 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-03-19 16:14:41 +0000 |
commit | c4d1ff721170fcf10dab78604eb3c90e94ed5013 (patch) | |
tree | 029a2691664935093cb4ce150265f9dfa8099c5a /mdkupdate | |
parent | 89911e4145aaf6d6a249b07138a4bab01bf61a23 (diff) | |
download | mgaonline-c4d1ff721170fcf10dab78604eb3c90e94ed5013.tar mgaonline-c4d1ff721170fcf10dab78604eb3c90e94ed5013.tar.gz mgaonline-c4d1ff721170fcf10dab78604eb3c90e94ed5013.tar.bz2 mgaonline-c4d1ff721170fcf10dab78604eb3c90e94ed5013.tar.xz mgaonline-c4d1ff721170fcf10dab78604eb3c90e94ed5013.zip |
- give MandrakeUpdate good package naming
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -79,14 +79,15 @@ if ($o{LOGIN} && $o{PASS} && $o{LOGIN} !~ /\s+/ && $o{PASS} !~ /\s+/) { my $action = { 10 => sub { my $c2h = splitContents($contents); - printf("\nCONTENTS = $contents \n torf = %s\n OLDKEY = %s = %s \n NEWKEY = %s \n FTP = %s", $c2h->{torf}, $c2h->{OLDKEY}, $o{CURRENTKEY}, $c2h->{NEWKEY}, $c2h->{FTP} ); + #printf("\nCONTENTS = $contents \n torf = %s\n OLDKEY = %s = %s \n NEWKEY = %s \n FTP = %s\n", $c2h->{torf}, $c2h->{OLDKEY}, $o{CURRENTKEY}, $c2h->{NEWKEY}, $c2h->{FTP} ); if ($c2h->{torf} eq "TRUE" && $c2h->{OLDKEY} && $c2h->{NEWKEY}) { updateConf($c2h->{OLDKEY}, $c2h->{NEWKEY}) } if ($c2h->{FTP}) { # for debugging purpose $c2h->{FTP} = 'ftp://ftp.lip6.fr/pub/linux/distributions/mandrake/updates'; addMedia($c2h->{FTP}) } $scheduled = join(',',@{$c2h->{sched}}); - $noscheduled = join(',',@{$c2h->{nosched}}); + $noscheduled = join(',',@{$c2h->{nosched}}); $noscheduled = s/.rpm//; + print "SCHEDULED = $scheduled\n; NOSCHEDULED = $noscheduled\n"; if ($opt eq '--applet') { system "MandrakeUpdate","--media=mdkupdate","--pkg-sel=$scheduled","--pkg-nosel=$nosheduled"; } elsif ($opt eq '--auto') { |