diff options
author | Francois Pons <fpons@mandriva.com> | 2002-10-10 14:38:41 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-10-10 14:38:41 +0000 |
commit | 316eb76720880c2e708440ec8c4697cb94cabd10 (patch) | |
tree | 9aee35b5c1754e4d53c686f568a6ba1e129d25b8 /mdkonline | |
parent | 8ed91f882afe9a535cca19dbdbcec1e9729648a8 (diff) | |
download | mgaonline-316eb76720880c2e708440ec8c4697cb94cabd10.tar mgaonline-316eb76720880c2e708440ec8c4697cb94cabd10.tar.gz mgaonline-316eb76720880c2e708440ec8c4697cb94cabd10.tar.bz2 mgaonline-316eb76720880c2e708440ec8c4697cb94cabd10.tar.xz mgaonline-316eb76720880c2e708440ec8c4697cb94cabd10.zip |
finally got the stuff to work.
Diffstat (limited to 'mdkonline')
-rwxr-xr-x | mdkonline | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -319,11 +319,6 @@ sub send_config { # print STDERR "Sending config\n"; my $result = -1; - #- added to allow .mdkupdate.rpms file creation. - open FILE, ">/root/.mdkupdate.rpms" or die "Couldn't open /root/.mdkupdate.rpms : $!"; - print FILE join ('', sort `rpm -qa`); - close FILE; - report_config("/root/$login.$passwd.$box_name.online.log"); `/usr/bin/bzip2 \\\-9 \\\-f /root/$login.$passwd.$box_name.online.log`; @@ -360,6 +355,11 @@ sub send_config { # if informations were sent correctly (exit code: 0 from scp script), go to page 5 if (! $result) { + #- added to allow .mdkupdate.rpms file creation. + open FILE, ">/root/.mdkupdate.rpms" or die "Couldn't open /root/.mdkupdate.rpms : $!"; + print FILE join ('', sort `rpm -qa`); + close FILE; + # go to last page $notebook_global->set_page(5); } else { |