From 312728c5b23daaad5a6040131a20df7ae5758158 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 1 Aug 2011 18:42:49 +0000 Subject: enable support for LibreOffice/gs/... only if available(#461) --- perl-install/standalone/drakfont | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index e2b0eaf83..fb802fa63 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -100,9 +100,9 @@ $ugtk2::wm_icon = "drakfont"; my $xlsfonts = 0; my $windows = 0; my $replace; -my $so = 1; -my $gs = 1; -my $abi = 1; +my $so = -f '/usr/bin/ooffice'; +my $gs = -f '/usr/bin/gs'; +my $abi = -f '/usr/bin/abiword'; my $printer = 1; my $mode = -1; my @application; -- cgit v1.2.1