diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-12-28 14:12:31 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-12-28 14:12:31 +0000 |
commit | 79e074214bba4ac6f256c18142e0ba77f843cfaf (patch) | |
tree | c9344c0b84d0109feb53e55dd71a841a27e8b3e3 | |
parent | fa6c19ffe377f3f74a7cb121c9fb75cf2867a14e (diff) | |
download | drakx-79e074214bba4ac6f256c18142e0ba77f843cfaf.tar drakx-79e074214bba4ac6f256c18142e0ba77f843cfaf.tar.gz drakx-79e074214bba4ac6f256c18142e0ba77f843cfaf.tar.bz2 drakx-79e074214bba4ac6f256c18142e0ba77f843cfaf.tar.xz drakx-79e074214bba4ac6f256c18142e0ba77f843cfaf.zip |
let packages using common.pm to use Locale::gettext without requiring it
-rw-r--r-- | perl-install/common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 509878ef7..63c1d0980 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -3,7 +3,7 @@ package common; # $Id$ use MDK::Common; use diagnostics; use strict; -eval { require Locale::gettext }; #- allow common.pm to be used in drakxtools-backend without perl-Locale-gettext +BEGIN { eval { require Locale::gettext } } #- allow common.pm to be used in drakxtools-backend without perl-Locale-gettext use log; use run_program; |