summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-24 17:27:33 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-24 17:27:33 +0000
commit240f089bda276eb079befdfd9c02cf8724bbc4cf (patch)
tree3e62132891c484cabbcd26f54c3fdb7420455ae7 /perl-install
parent98ead67180582fd67d9277b843439c813ce295cc (diff)
downloaddrakx-240f089bda276eb079befdfd9c02cf8724bbc4cf.tar
drakx-240f089bda276eb079befdfd9c02cf8724bbc4cf.tar.gz
drakx-240f089bda276eb079befdfd9c02cf8724bbc4cf.tar.bz2
drakx-240f089bda276eb079befdfd9c02cf8724bbc4cf.tar.xz
drakx-240f089bda276eb079befdfd9c02cf8724bbc4cf.zip
Always write an MD5SUM file
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 88a95b215..690d5b7bc 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1030,9 +1030,6 @@ sub install_urpmi {
close $F;
}
- #- touch a MD5SUM file
- eval { output("$::prefix/var/lib/urpmi/MD5SUM", '') };
-
#- 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";
@@ -1075,6 +1072,8 @@ sub install_urpmi {
unlink "$::prefix/var/lib/urpmi/synthesis.hdlist.$name.cz";
}
}
+ #- touch a MD5SUM file and write config file
+ eval { output("$::prefix/var/lib/urpmi/MD5SUM", '') };
eval { output "$::prefix/etc/urpmi/urpmi.cfg", @cfg };
}