diff options
author | Daouda Lo <daouda@mandriva.com> | 2002-04-16 19:15:47 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2002-04-16 19:15:47 +0000 |
commit | 80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5 (patch) | |
tree | 165a6ebfad4cfd10e831646bf0ad7d6a3bb362eb | |
parent | 5ac1e6e291c47b02775670f5362c032cf0db2595 (diff) | |
download | mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar.gz mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar.bz2 mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar.xz mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.zip |
- some cleanups after updates
-rwxr-xr-x | mdkupdate | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -103,7 +103,6 @@ sub update_rpms () { }); my @junk= splice(@str_m,0,3); my $mir_full = "ftp://" . $l{MIRROR} . "/" . $l{VER} ."/" . "RPMS"."/"; - print "la chaine est @str_m\n"; update_packages($mir_full,@str_m); } else { print "problem occur $str_m\n";} @@ -143,7 +142,7 @@ sub send_rpm_dif { } sub clean_dir() { - `rm -f /root/$login.$password.$box_name.$oldkey.dif /root/rpm_qa_installed_before /root/rpm_qa_installed_after` if -e "/root/rpm_qa_installed_before"; + `rm -f /root/$login.$password.$box_name.$oldkey.dif /root/rpm_qa_installed_before /root/rpm_qa_installed_after`; exit 1; } |