summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-12-28 14:12:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-12-28 14:12:31 +0000
commit79e074214bba4ac6f256c18142e0ba77f843cfaf (patch)
treec9344c0b84d0109feb53e55dd71a841a27e8b3e3 /perl-install/common.pm
parentfa6c19ffe377f3f74a7cb121c9fb75cf2867a14e (diff)
downloaddrakx-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
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
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;