summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-10-17 15:03:28 +0000
committerDaouda Lo <daouda@mandriva.com>2003-10-17 15:03:28 +0000
commitfd8d42602abe5780652db9f1baad5657de45b480 (patch)
tree7fb7702fb3ba5430fc2e2333cf74b034be98d79c
parent46667c52bbf5a1812c1fcc2a60bd018269df3c3c (diff)
downloadmgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar
mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar.gz
mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar.bz2
mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar.xz
mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.zip
- no clean when upgrading sources
-rwxr-xr-xmdkupdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkupdate b/mdkupdate
index 6ccb883c..1b698e9e 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -210,9 +210,9 @@ sub update_packages {
@str or return;
eval {
system "/usr/sbin/urpmi.removemedia", "mdkupdate";
- system "/usr/sbin/urpmi.addmedia", "-c", "mdkupdate", $mir, "with", "../base/hdlist.cz";
+ system "/usr/sbin/urpmi.addmedia", "mdkupdate", $mir;
$? == 0 or die _("Unable to create mdkupdate medium.\n");
- system "/usr/sbin/urpmi", "--auto", "--clean", "--media", "mdkupdate", map { /^(.*)\.rpm$/ && $1 } @str;
+ system "/usr/sbin/urpmi", "--auto", "--media", "mdkupdate", map { /^(.*)\.rpm$/ && $1 } @str;
$? == 0 or die _("Unable to update packages from mdkupdate medium.\n");
};
$@ and die;