diff options
author | Francois Pons <fpons@mandriva.com> | 2000-12-11 14:29:02 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-12-11 14:29:02 +0000 |
commit | d7845ac2fcec5db5dc4c6e4a40ad516aa2ef531f (patch) | |
tree | 92345b680407c8f0e3fb74b7eeb00d6abb09d783 | |
parent | ae0c75815fc6716c421882a514c009f638f4e944 (diff) | |
download | drakx-backup-do-not-use-d7845ac2fcec5db5dc4c6e4a40ad516aa2ef531f.tar drakx-backup-do-not-use-d7845ac2fcec5db5dc4c6e4a40ad516aa2ef531f.tar.gz drakx-backup-do-not-use-d7845ac2fcec5db5dc4c6e4a40ad516aa2ef531f.tar.bz2 drakx-backup-do-not-use-d7845ac2fcec5db5dc4c6e4a40ad516aa2ef531f.tar.xz drakx-backup-do-not-use-d7845ac2fcec5db5dc4c6e4a40ad516aa2ef531f.zip |
fixed write_langs for upgrade.
-rw-r--r-- | perl-install/lang.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 5e5e3af42..4154ee5d6 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -312,7 +312,7 @@ sub unpack_langs { sub write_langs { my ($prefix, $langs) = @_; symlink "$prefix/etc/rpm", "/etc/rpm" if $prefix; - substInFile { s/%_install_langs//; $_ .= "%_install_langs $langs\n" if eof } "$prefix/etc/rpm/macros"; + substInFile { s/%_install_langs.*//; $_ .= "%_install_langs $langs\n" if eof } "$prefix/etc/rpm/macros"; } sub write { |