summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-04-16 19:15:47 +0000
committerDaouda Lo <daouda@mandriva.com>2002-04-16 19:15:47 +0000
commit80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5 (patch)
tree165a6ebfad4cfd10e831646bf0ad7d6a3bb362eb
parent5ac1e6e291c47b02775670f5362c032cf0db2595 (diff)
downloadmgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar
mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar.gz
mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar.bz2
mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.tar.xz
mgaonline-80ddd06a1541ff8fa0ef97093eb61d0f6979fdd5.zip
- some cleanups after updates
-rwxr-xr-xmdkupdate3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkupdate b/mdkupdate
index 2dbca727..5706f9b3 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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;
}