summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;