From c8702830fa9a2a40ce1b9e7095fa58a827025950 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/NEWS | 1 + perl-install/standalone/drakfont | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 63d59a986..082f3173b 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - drakfont: o rename Ooo as LibreOffice (#461) + o enable support for LibreOffice/gs/... only if available(#461) - fix bootloader entries names Version 13.60 - 27 July 2011 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