diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-10-17 15:03:28 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-10-17 15:03:28 +0000 |
commit | fd8d42602abe5780652db9f1baad5657de45b480 (patch) | |
tree | 7fb7702fb3ba5430fc2e2333cf74b034be98d79c /mdkupdate | |
parent | 46667c52bbf5a1812c1fcc2a60bd018269df3c3c (diff) | |
download | mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar.gz mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar.bz2 mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.tar.xz mgaonline-fd8d42602abe5780652db9f1baad5657de45b480.zip |
- no clean when upgrading sources
Diffstat (limited to 'mdkupdate')
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |