summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-11 16:48:33 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-11 16:48:33 +0000
commit48cd443633ea027691f6778f68e8cdf3b7b98196 (patch)
treea42d4c9912beb183cc167cce7b7816cc15eb7683
parentcf35136071dd871fa6d96a7f4f3af77bda02db7e (diff)
downloaddrakx-48cd443633ea027691f6778f68e8cdf3b7b98196.tar
drakx-48cd443633ea027691f6778f68e8cdf3b7b98196.tar.gz
drakx-48cd443633ea027691f6778f68e8cdf3b7b98196.tar.bz2
drakx-48cd443633ea027691f6778f68e8cdf3b7b98196.tar.xz
drakx-48cd443633ea027691f6778f68e8cdf3b7b98196.zip
Create an empty MD5SUM file to make urpmi happy
-rw-r--r--perl-install/install_any.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 5642787fb..aaca79297 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1012,6 +1012,9 @@ sub install_urpmi {
close $F;
}
+ #- touch a MD5SUM file
+ if (open my $F, ">", "$::prefix/var/lib/urpmi/MD5SUM") { close $F }
+
#- build synthesis file if there are still not existing (ie not copied from mirror).
if (-s "$::prefix/var/lib/urpmi/synthesis.hdlist.$name.cz" <= 32) {
unlink "$::prefix/var/lib/urpmi/synthesis.hdlist.$name.cz";