summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-11 17:12:11 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-11 17:12:11 +0000
commit87206f3ef535d1d7bbdec0ab2455ea05073156c2 (patch)
treeb24787ba4b83ef100bad55ec958f114f2f05854d
parent48cd443633ea027691f6778f68e8cdf3b7b98196 (diff)
downloaddrakx-87206f3ef535d1d7bbdec0ab2455ea05073156c2.tar
drakx-87206f3ef535d1d7bbdec0ab2455ea05073156c2.tar.gz
drakx-87206f3ef535d1d7bbdec0ab2455ea05073156c2.tar.bz2
drakx-87206f3ef535d1d7bbdec0ab2455ea05073156c2.tar.xz
drakx-87206f3ef535d1d7bbdec0ab2455ea05073156c2.zip
Use library functions
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index aaca79297..8c9536821 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1013,7 +1013,7 @@ sub install_urpmi {
}
#- touch a MD5SUM file
- if (open my $F, ">", "$::prefix/var/lib/urpmi/MD5SUM") { close $F }
+ 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) {