From 2e45a61245d60946c6864f4d8eaeccec5f363ef9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 18 Dec 2005 12:13:56 +0000 Subject: allow common.pm and standalone.pm to be used in drakxtools-backend without perl-Locale-gettext --- perl-install/common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/common.pm') diff --git a/perl-install/common.pm b/perl-install/common.pm index 29aecf868..509878ef7 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -1,9 +1,9 @@ package common; # $Id$ use MDK::Common; -use Locale::gettext(); use diagnostics; use strict; +eval { require Locale::gettext }; #- allow common.pm to be used in drakxtools-backend without perl-Locale-gettext use log; use run_program; -- cgit v1.2.1