diff options
author | Francois Pons <fpons@mandriva.com> | 2002-03-12 13:18:52 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-03-12 13:18:52 +0000 |
commit | 17f6b7e4d5cedf1588a30f18bf4cc3df2b1df7e4 (patch) | |
tree | 9fffd45f2c483563c7a34b5ac6bcfa936fe9339c /perl-install/install_any.pm | |
parent | 44229e906ecf2d0c60b1052a057a8babb9eb2c41 (diff) | |
download | drakx-backup-do-not-use-17f6b7e4d5cedf1588a30f18bf4cc3df2b1df7e4.tar drakx-backup-do-not-use-17f6b7e4d5cedf1588a30f18bf4cc3df2b1df7e4.tar.gz drakx-backup-do-not-use-17f6b7e4d5cedf1588a30f18bf4cc3df2b1df7e4.tar.bz2 drakx-backup-do-not-use-17f6b7e4d5cedf1588a30f18bf4cc3df2b1df7e4.tar.xz drakx-backup-do-not-use-17f6b7e4d5cedf1588a30f18bf4cc3df2b1df7e4.zip |
remove old synthesis file, to make sure gzip can build a new one.
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index d78b955e2..be9cef216 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -528,6 +528,7 @@ sub install_urpmi { #- 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"; run_program::rooted($prefix, "parsehdlist", ">", "/var/lib/urpmi/synthesis.hdlist.$name", "--synthesis", "/var/lib/urpmi/hdlist.$name.cz"); run_program::rooted($prefix, "gzip", "-S", ".cz", "/var/lib/urpmi/synthesis.hdlist.$name"); |