summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-08-01 18:42:49 +0000
committerThierry Vignaud <tv@mageia.org>2011-08-01 18:42:49 +0000
commitc8702830fa9a2a40ce1b9e7095fa58a827025950 (patch)
tree684d8252f49088ee3cf641fce1a155ccac1846dc /perl-install/standalone
parentf2c88f341e0aa563ba1145de421b896e46385e35 (diff)
downloaddrakx-c8702830fa9a2a40ce1b9e7095fa58a827025950.tar
drakx-c8702830fa9a2a40ce1b9e7095fa58a827025950.tar.gz
drakx-c8702830fa9a2a40ce1b9e7095fa58a827025950.tar.bz2
drakx-c8702830fa9a2a40ce1b9e7095fa58a827025950.tar.xz
drakx-c8702830fa9a2a40ce1b9e7095fa58a827025950.zip
enable support for LibreOffice/gs/... only if available(#461)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakfont6
1 files changed, 3 insertions, 3 deletions
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;