diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-24 17:27:33 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-24 17:27:33 +0000 |
commit | 240f089bda276eb079befdfd9c02cf8724bbc4cf (patch) | |
tree | 3e62132891c484cabbcd26f54c3fdb7420455ae7 /perl-install/install_any.pm | |
parent | 98ead67180582fd67d9277b843439c813ce295cc (diff) | |
download | drakx-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/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 5 |
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 }; } |